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....
HighCVSS 7.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/emacs(Ubuntu:22.04) | < 1:27.1+1-3ubuntu5.2 | 1:27.1+1-3ubuntu5.2 |
| ubuntu/xemacs21(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:22.04) | All versions | No fix listed |
| GNU emacs | <= 28.2 | No fix listed |
| ubuntu/xemacs21(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xemacs21(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xemacs21(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:26.10) | All versions | No fix listed |
| debian/emacs(Debian:12) | < 1:28.2+1-11 | 1:28.2+1-11 |
| debian/emacs(Debian:14) | < 1:28.2+1-11 | 1:28.2+1-11 |
| debian/emacs(Debian:13) | < 1:28.2+1-11 | 1:28.2+1-11 |
References
- Debian Security Tracker CVE-2022-48339 vendor-advisory
- git.savannah.gnu.org patch
- DSA-5360 third-party-advisory vendor-advisory
- [debian-lts-announce] 20230509 [SECURITY] [DLA 3416-1] emacs security update mailing-list
- FEDORA-2023-5763445abe vendor-advisory
- FEDORA-2023-29df561f1d vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-5955-1 vendor-advisory
- USN-7027-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking