CVE-2022-48338 - CVE House
Back to Database
Status published Unknown CVE-2022-48338

An issue was discovered in GNU Emacs through 28.2. In...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-48338

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

emacs
Vulnerable Versions:
0

Timeline

Official Publish: February 20th, 2023
Last Modified: March 18th, 2025
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.