CVE-2022-48339

Severity
7.8HIGH
EPSS
0.1%
top 71.35%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 20
Latest updateSep 19

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages2 packages

Debianemacs< 1:27.1+1-3.1+deb11u2+3
NVDgnu/emacs28.2

Patches

🔴Vulnerability Details

3
GHSA
GHSA-jwxq-f9vm-725g: An issue was discovered in GNU Emacs through 282023-02-21
OSV
CVE-2022-48339: An issue was discovered in GNU Emacs through 282023-02-20
CVEList
CVE-2022-48339: An issue was discovered in GNU Emacs through 282023-02-20

📋Vendor Advisories

5
Ubuntu
Emacs vulnerabilities2024-09-19
Ubuntu
Emacs vulnerability2023-03-15
Red Hat
emacs: command injection vulnerability in htmlfontify.el2023-02-21
Microsoft
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 i2023-02-14
Debian
CVE-2022-48339: emacs - An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command ...2022
CVE-2022-48339 (HIGH CVSS 7.8) | An issue was discovered in GNU Emac | cvebase.io