CVE-2022-48337

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48337
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48337.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48337
Downstream
Related
Published
2023-02-20T23:15:12Z
Modified
2025-11-14T03:35:52.998971Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / cgit.git.savannah.gnu.org/cgit/emacs.git

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/emacs.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
01a4035c869b91c153af9a9132c87adb7669ea1c

Git / git.savannah.gnu.org/git/emacs.git

Affected ranges

Type
GIT
Repo
https://git.savannah.gnu.org/git/emacs.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected