Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-A75929BD-B6A4-11ED-BAD6-080027F5FEC9 (CVE-2022-48338): emacs -- multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-A75929BD-B6A4-11ED-BAD6-080027F5FEC9 (CVE-2022-48338): emacs -- multiple vulnerabilities

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
12/06/2022
Created
03/02/2023
Added
02/28/2023
Modified
03/08/2023

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.

Solution(s)

  • freebsd-upgrade-package-emacs
  • freebsd-upgrade-package-emacs-canna
  • freebsd-upgrade-package-emacs-devel
  • freebsd-upgrade-package-emacs-devel-nox
  • freebsd-upgrade-package-emacs-nox

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;