CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
Percentile
5.1%
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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | emacs | < 1:28.2+1-11 | emacs_1:28.2+1-11_all.deb |
Debian | 11 | all | emacs | < 1:27.1+1-3.1+deb11u2 | emacs_1:27.1+1-3.1+deb11u2_all.deb |
Debian | 999 | all | emacs | < 1:28.2+1-11 | emacs_1:28.2+1-11_all.deb |
Debian | 13 | all | emacs | < 1:28.2+1-11 | emacs_1:28.2+1-11_all.deb |