Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-76E2FCCE-92D2-11ED-A635-080027F5FEC9 (CVE-2022-45939): emacs -- arbitary shell command execution vulnerability of ctags

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-76E2FCCE-92D2-11ED-A635-080027F5FEC9 (CVE-2022-45939): emacs -- arbitary shell command execution vulnerability of ctags

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
11/28/2022
Created
01/17/2023
Added
01/14/2023
Modified
01/14/2023

Description

GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.

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

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

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

;