Vulnerability in GNU Emacs
CVE-2022-48339
An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.011, 67.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- git.savannah.gnu.org/cgit/emacs.git/commit/ (Patch)
- DSA-5360 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20230509 [SECURITY] [DLA 3416-1] emacs security update (mailing-list)
- FEDORA-2023-5763445abe (vendor-advisory)
- FEDORA-2023-29df561f1d (vendor-advisory)