CVE-2022-45939

Summary

CVECVE-2022-45939
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-28 06:15:00 UTC
Updated2023-11-07 03:54:00 UTC
DescriptionGNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Fedoraproject Fedora 36 All All All
Operating System Fedoraproject Fedora 37 All All All
Application Gnu Emacs All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 36 Update: emacs-28.2-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Debian -- Security Information -- DSA-5314-1 emacs DEBIAN www.debian.org
emacs.git - Emacs source repository MISC git.savannah.gnu.org
[SECURITY] [DLA 3257-1] emacs security update MLIST lists.debian.org
[SECURITY] Fedora 37 Update: emacs-28.2-1.fc37 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 36 Update: emacs-28.2-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 37 Update: emacs-28.2-1.fc37 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160586 Oracle Enterprise Linux Security Update for emacs (ELSA-2023-2366)
  • 160682 Oracle Enterprise Linux Security Update for emacs (ELSA-2023-3042)
  • 181472 Debian Security Update for emacs (DSA 5314-1)
  • 181496 Debian Security Update for emacs (DLA 3257-1)
  • 183376 Debian Security Update for emacsxemacs21 (CVE-2022-45939)
  • 241419 Red Hat Update for emacs (RHSA-2023:2366)
  • 241509 Red Hat Update for emacs (RHSA-2023:3042)
  • 243011 Red Hat Update for emacs (RHSA-2024:1103)
  • 283576 Fedora Security Update for emacs (FEDORA-2022-d69c7f95a4)
  • 283590 Fedora Security Update for emacs (FEDORA-2022-e37f239f2e)
  • 284283 Fedora Security Update for emacs (FEDORA-2022-cbc71cc4fe)
  • 354714 Amazon Linux Security Advisory for emacs : ALAS2022-2023-277
  • 354732 Amazon Linux Security Advisory for emacs : ALAS2-2023-1928
  • 354861 Amazon Linux Security Advisory for emacs : ALAS-2023-1712
  • 355076 Amazon Linux Security Advisory for emacs : AL2012-2023-400
  • 355171 Amazon Linux Security Advisory for emacs : ALAS2023-2023-108
  • 355223 Amazon Linux Security Advisory for emacs : ALAS2023-2023-122
  • 502847 Alpine Linux Security Update for emacs
  • 503180 Alpine Linux Security Update for emacs
  • 506040 Alpine Linux Security Update for emacs
  • 672633 EulerOS Security Update for emacs (EulerOS-SA-2023-1354)
  • 672643 EulerOS Security Update for emacs (EulerOS-SA-2023-1382)
  • 672714 EulerOS Security Update for emacs (EulerOS-SA-2023-1465)
  • 672763 EulerOS Security Update for emacs (EulerOS-SA-2023-1440)
  • 672846 EulerOS Security Update for emacs (EulerOS-SA-2023-1582)
  • 672852 EulerOS Security Update for emacs (EulerOS-SA-2023-1572)
  • 672857 EulerOS Security Update for emacs (EulerOS-SA-2023-1593)
  • 691026 Free Berkeley Software Distribution (FreeBSD) Security Update for emacs (76e2fcce-92d2-11ed-a635-080027f5fec9)
  • 752965 SUSE Enterprise Linux Security Update for emacs (SUSE-SU-2022:4310-1)
  • 752969 SUSE Enterprise Linux Security Update for emacs (SUSE-SU-2022:4305-1)
  • 752980 SUSE Enterprise Linux Security Update for emacs (SUSE-SU-2022:4304-1)
  • 904609 Common Base Linux Mariner (CBL-Mariner) Security Update for emacs (11515)
  • 904783 Common Base Linux Mariner (CBL-Mariner) Security Update for emacs (11515-1)
  • 941029 AlmaLinux Security Update for emacs (ALSA-2023:2366)
  • 941074 AlmaLinux Security Update for emacs (ALSA-2023:3042)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report