CVE-2022-48338
highpriority · track · 30EPSS 0.016 · 76 %ileDEEURUUSEPSS · scored 2026-10-27
An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedemacs-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-1:27.2-8.el9_2.1.src as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-debuginfo-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-debuginfo-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-debuginfo-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-common-debuginfo-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debuginfo-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debuginfo-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debuginfo-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debuginfo-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debugsource-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debugsource-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debugsource-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-debugsource-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-filesystem-1:27.2-8.el9_2.1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-debuginfo-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-debuginfo-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-debuginfo-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-lucid-debuginfo-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-debuginfo-1:27.2-8.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-debuginfo-1:27.2-8.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-debuginfo-1:27.2-8.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626 - Fixedemacs-nox-debuginfo-1:27.2-8.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2626
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.7–7.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (56)
Products and version ranges known to be affected.
- Xerox FreeFlow Print Server v2 / Windows 10all versionscert_bundDEcpe:/a:xerox:freeflow_print_server:v2__windows_10
- Xerox FreeFlow Print Server v9 for Solarisall versionscert_bundDEcpe:/a:xerox:freeflow_print_server:v9_for_solaris
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2023:2626Red Hat Security Advisory: emacs security update2023-05-09csaf · redhat_csafUS
An update for emacs is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2023-0437GNU Emacs: Mehrere Schwachstellen ermöglichen CodeausführungDeutsch2023-02-20csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in GNU Emacs ausnutzen, um beliebigen Programmcode auszuführen.
- WID-SEC-W-2023-1542Red Hat OpenShift: Mehrere SchwachstellenDeutsch2023-06-22csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um einen Denial of Service Zustand herbeizuführen, Informationen offenzulegen, Dateien zu manipulieren oder Sicherheitsvorkehrungen zu umgehen.
- WID-SEC-W-2023-2917Xerox FreeFlow Print Server: Mehrere SchwachstellenDeutsch2023-11-14csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Xerox FreeFlow Print Server ausnutzen, um die Vertraulichkeit, Verfügbarkeit und Integrität des Systems zu gefährden.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-48338cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-48338/cnnvd
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1ccnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-48338cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.1335cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.2557cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan