CVE-2022-48337
CRITICAL9.8EPSS 0.45%emacs - security update
Published: 2/20/2023Modified: 3/9/2026
Also known as:DEBIAN-CVE-2022-48337DEBIAN-CVE-2022-48339DEBIAN-CVE-2023-28617DLA-3416-1
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 etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.
Affected packages (3)
- Debian/emacsfrom 0, < 1:27.1+1-3.1+deb11u2
- Debian/emacsfrom 0, < 1:26.1+1-3.2+deb10u4
- Debian/emacsfrom 0, < 1:27.1+1-3.1+deb11u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |