CVE-2022-48338
Last modified
CVE-2022-48338 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 1.64% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Emacs | <= 28.2 |
References
- https://www.debian.org/security/2023/dsa-5360Third Party Advisory
- https://www.debian.org/security/2023/dsa-5360Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-48338?
How severe is CVE-2022-48338?
How do I fix CVE-2022-48338?
Are you affected by CVE-2022-48338?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
