CVE-2022-48338

CVSS V2 None CVSS V3 None
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.
Overview
  • CVE ID
  • CVE-2022-48338
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2023-02-20T23:15:12
  • Last Modified Date
  • 2023-03-03T18:26:12
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* 1 OR 28.2
History
Created Old Value New Value Data Type Notes
2023-04-17 08:00:31 Added to TrackCVE
2023-04-17 08:00:34 Weakness Enumeration new