Vulnerability

CVE-2022-48338

highCVSS 3.1 7.3Published 20 Feb 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gnu emacs

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning