CVE-2022-48337

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
20/02/2023
Last modified:
18/03/2025

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 etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* 28.2 (including)
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*