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 (65.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
Weakness classification (CWE)
References
- git.savannah.gnu.org/cgit/emacs.git/commit/ (Patch)
- www.debian.org/security/2023/dsa-5360 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/05/msg00008.html (mailing-list)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2022-48339?
- CVE-2022-48339 is a high-severity vulnerability in GNU Emacs, classified under Improper Encoding or Escaping of Output. CVSS score: 7.8/10. Published 2023-02-20.
- How severe is CVE-2022-48339?
- High severity. CVSS v3 base score is 7.8 out of 10.