
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48339 is a command injection vulnerability discovered in GNU Emacs' htmlfontify.el component. The vulnerability was identified in February 2023 and affects Emacs versions through 28.2. The issue exists in the hfy-istext-command function, where parameters file and srcdir from external input are not properly sanitized (NVD, Red Hat CVE).
The vulnerability exists in the hfy-text-p function within htmlfontify.el, where the file and srcdir parameters are not properly escaped before being used in shell commands. If a file name or directory name contains shell metacharacters, it could lead to arbitrary code execution. The fix involves using shell-quote-argument to properly escape the file path before it's used in shell commands (Emacs Git).
If exploited, this vulnerability allows an attacker to execute arbitrary shell commands through specially crafted file or directory names when using the htmlfontify functionality (Red Hat CVE, Debian LTS).
The vulnerability has been fixed in Emacs 28.3-rc1. Various Linux distributions have released security updates to address this issue, including Red Hat Enterprise Linux, Fedora, and Debian. Users are advised to upgrade their Emacs packages to the latest available version (Fedora Update, Debian Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."