cbcvebase.
CVE-2022-45939
published 2022-11-28

CVE-2022-45939: 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…

PriorityP336high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.63%
46.1th percentile
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.

Affected

17 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianemacs< emacs 1:28.2+1-8 (bookworm)emacs 1:28.2+1-8 (bookworm)
debianxemacs21< emacs 1:28.2+1-8 (bookworm)emacs 1:28.2+1-8 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
gnuemacs<= 28.2
gnuemacs>= 0 < 1:27.1+1-3.1+deb11u11:27.1+1-3.1+deb11u1
gnuemacs>= 0 < 1:28.2+1-81:28.2+1-8
gnuemacs>= 0 < 1:28.2+1-81:28.2+1-8
gnuemacs>= 0 < 1:28.2+1-81:28.2+1-8
gnuemacs>= 0 < 1:27.1+1-3ubuntu5.21:27.1+1-3ubuntu5.2
gnuemacs>= 0 < 1:26.3+1-1ubuntu2+esm11:26.3+1-1ubuntu2+esm1
gnuemacs>= 0 < 1:29.3+1-1ubuntu2+esm11:29.3+1-1ubuntu2+esm1
msrccbl2_emacs_28.1-5_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.