CVE-2022-45939
- Severity 7.8 HIGH
- Published
- Updated
- Status Modified
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 Products (NVD)
| Vendor | Product | Version |
|---|---|---|
| gnu | emacs | 𝑥 ≤ 28.2 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
𝑥
= Vulnerable software versions
Debian Releases
Debian Product | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| emacs |
| ||||||||||||||
| xemacs21 |
|
Ubuntu Releases
Ubuntu Product | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| xemacs21 |
| ||||||||||||||||||||||||||
| xemacs21-packages |
| ||||||||||||||||||||||||||
| emacs |
| ||||||||||||||||||||||||||
| emacs23 |
| ||||||||||||||||||||||||||
| emacs24 |
| ||||||||||||||||||||||||||
| emacs25 |
|
openSUSE / SLES Releases
openSUSE Product | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| emacs |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| emacs-el |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| emacs-eln |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| emacs-info |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| emacs-nox |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| emacs-x11 |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| etags |
|
Red Hat Enterprise Linux Releases
Red Hat Product | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| emacs |
| ||||||||||||||||||||
| emacs-common |
| ||||||||||||||||||||
| emacs-filesystem |
| ||||||||||||||||||||
| emacs-lucid |
| ||||||||||||||||||||
| emacs-nox |
| ||||||||||||||||||||
| emacs-terminal |
|
Amazon Linux Releases
Amazon Package | |||||||
|---|---|---|---|---|---|---|---|
| emacs |
| ||||||
| emacs-common |
| ||||||
| emacs-common-debuginfo |
| ||||||
| emacs-debuginfo |
| ||||||
| emacs-debugsource |
| ||||||
| emacs-devel |
| ||||||
| emacs-el |
| ||||||
| emacs-filesystem |
| ||||||
| emacs-lucid |
| ||||||
| emacs-lucid-debuginfo |
| ||||||
| emacs-nox |
| ||||||
| emacs-nox-debuginfo |
| ||||||
| emacs-terminal |
|
References