CVE-2022-48339

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48339
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48339.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48339
Downstream
Related
Published
2023-02-20T23:15:12.350Z
Modified
2025-12-02T21:11:49.367601Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / cgit.git.savannah.gnu.org/cgit/emacs.git

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/emacs.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
1b4dc4691c1f87fc970fbe568b43869a15ad0d4c

Git / git.savannah.gnu.org/git/emacs.git

Affected ranges

Type
GIT
Repo
https://git.savannah.gnu.org/git/emacs.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected