CVE-2022-48338: Command Injection
An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-48338?
CVE-2022-48338 is a vulnerability discovered in GNU Emacs through version 28.2.
What is the severity of CVE-2022-48338?
The severity of CVE-2022-48338 is high with a CVSS score of 7.3.
How does CVE-2022-48338 affect GNU Emacs?
CVE-2022-48338 affects GNU Emacs versions up to 28.2.
Is there a fix available for CVE-2022-48338?
Yes, a fix is available. Please refer to the references for more information.
Where can I find more information about CVE-2022-48338?
You can find more information about CVE-2022-48338 in the provided references.