CVE-2022-45939
Last modified
CVE-2022-45939 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. GNU 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.. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
Description
GNU 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Emacs | <= 28.2 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
References
- https://lists.debian.org/debian-lts-announce/2022/12/msg00046.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5314Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00046.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5314Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-45939?
How severe is CVE-2022-45939?
How do I fix CVE-2022-45939?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-45933KubeView through 0.1.31 allows attackers to obtain control o…9.8
- CVE-2022-45934An issue was discovered in the Linux kernel through 6.0.10. …7.8
- CVE-2022-45935Usage of temporary files with insecure permissions by the Ap…5.5
- CVE-2022-45936A vulnerability has been identified in Mendix Email Connecto…8.1
- CVE-2022-45937A vulnerability has been identified in APOGEE PXC Compact (B…6.5
- CVE-2022-45938An issue was discovered in Comcast Defined Technologies micr…9
- CVE-2022-4594A vulnerability was found in drogatkin TJWS2. It has been de…9.8
- CVE-2022-45942A Remote Code Execution (RCE) vulnerability was found in inc…8.8
- CVE-2022-4595A vulnerability classified as problematic has been found in …6.1
- CVE-2022-45956Boa Web Server versions 0.94.13 through 0.94.14 fail to vali…5.3
- CVE-2022-45957ZTE ZXHN-H108NS router with firmware version H108NSV1.0.7u_Z…7.5
- CVE-2022-4596A vulnerability, which was classified as problematic, has be…5.4
Are you affected by CVE-2022-45939?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
