vulnerability

FreeBSD: VID-76e2fcce-92d2-11ed-a635-080027f5fec9 (CVE-2022-45939): emacs -- arbitary shell command execution vulnerability of ctags

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
Jan 12, 2023
Added
Jan 14, 2023
Modified
Dec 10, 2025

Description

lu4nx reports: 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.

Solutions

freebsd-upgrade-package-emacsfreebsd-upgrade-package-emacs-cannafreebsd-upgrade-package-emacs-noxfreebsd-upgrade-package-emacs-develfreebsd-upgrade-package-emacs-devel-nox
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.