VDB

DEBIAN-CVE-2022-48338

DEBIAN-CVE-2022-48338 PUBLISHED CVSS 7.300000190734863 HIGH

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.

Risk Scores

CVSS 3.1
7.300000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Debian:13emacs0, 0, 0
Debian:14emacs0, 0, 0
Debian:12emacs0, 0, 0
Debian:11emacs1:27.1+1-3.1+deb11u1, 0, 27.1+1

Timeline

  • Feb 20, 2023 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›