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
Configurations
History
18 Mar 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://www.debian.org/security/2023/dsa-5360 - Third Party Advisory | |
References | () https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html - | |
References | () https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c - Patch |
07 Nov 2023, 03:56
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
14 Oct 2023, 03:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
08 Aug 2023, 14:21
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-116 |
10 May 2023, 01:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
Information
Published : 2023-02-20 23:15
Updated : 2025-03-18 16:15
NVD link : CVE-2022-48339
Mitre link : CVE-2022-48339
JSON object : View
Products Affected
gnu
- emacs
CWE
CWE-116
Improper Encoding or Escaping of Output