cbcvebase.
CVE-2022-48339
published 2023-02-20

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…

PriorityP338high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.13%
62.7th percentile
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianemacs< emacs 1:28.2+1-11 (bookworm)emacs 1:28.2+1-11 (bookworm)
gnuemacs<= 28.2
gnuemacs>= 0 < 1:27.1+1-3.1+deb11u21:27.1+1-3.1+deb11u2
gnuemacs>= 0 < 1:28.2+1-111:28.2+1-11
gnuemacs>= 0 < 1:28.2+1-111:28.2+1-11
gnuemacs>= 0 < 1:28.2+1-111:28.2+1-11
gnuemacs>= 0 < 1:27.1+1-3ubuntu5.21:27.1+1-3ubuntu5.2
gnuemacs>= 0 < 1:26.3+1-1ubuntu2+esm11:26.3+1-1ubuntu2+esm1
gnuemacs>= 0 < 1:29.3+1-1ubuntu2+esm11:29.3+1-1ubuntu2+esm1
msrccbl2_emacs_28.2-4_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.