CVE-2022-48338

An issue was discovered in GNU Emacs through 28.2

High · published February 20, 2023

CVSS v3.1
7.3
EPSS
2%
Percentile
76.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01639 · 76.2th percentile
Published
2023-02-20T00:00Z
EPSS history
Timeline
  • 20 FEB 00:00Z
    An issue was discovered in GNU Emacs through 28.2
    cvelistv5