emacs: CVE-2022-45939: ctags local command execute vulnerability

Related Vulnerabilities: CVE-2022-45939  

Debian Bug report logs - #1025009
emacs: CVE-2022-45939: ctags local command execute vulnerability

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Mon, 28 Nov 2022 18:42:02 UTC

Severity: important

Tags: security, upstream

Found in version emacs/1:28.2+1-7

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Rob Browning <rlb@defaultvalue.org>:
Bug#1025009; Package src:emacs. (Mon, 28 Nov 2022 18:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Rob Browning <rlb@defaultvalue.org>. (Mon, 28 Nov 2022 18:42:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: emacs: CVE-2022-45939: ctags local command execute vulnerability
Date: Mon, 28 Nov 2022 19:39:31 +0100
Source: emacs
Version: 1:28.2+1-7
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for emacs.

CVE-2022-45939[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-45939
    https://www.cve.org/CVERecord?id=CVE-2022-45939
[1] https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Nov 29 07:18:18 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.