CVE-2022-48338
HIGHEPSS 73th pctlDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Exploit Intelligence
Elevated risk: more likely to be exploited than 73% of all known CVEs.
References
Related Vulnerabilities
Other CWE-77 (Command Injection) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-3400 | Critical | 10.0 | 100% | KEV + Ransom | - |
| CVE-2024-21887 | Critical | 9.1 | 100% | KEV + Ransom | - |
| CVE-2023-1671 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2023-1389 | High | 8.8 | 100% | KEV | Fix |
| CVE-2021-1498 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2012-1823 | Critical | 9.8 | 100% | KEV | Fix |
Embed a live status badge for CVE-2022-48338
Markdown
[](https://tridentstack.com/cve/CVE-2022-48338)HTML
<a href="https://tridentstack.com/cve/CVE-2022-48338"><img src="https://tridentstack.com/cve/badge/CVE-2022-48338.svg" alt="CVE-2022-48338"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-03-18.