Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.893257
Category:Debian Local Security Checks
Title:Debian: Security Advisory (DLA-3257-1)
Summary:The remote host is missing an update for the Debian 'emacs' package(s) announced via the DLA-3257-1 advisory.
Description:Summary:
The remote host is missing an update for the Debian 'emacs' package(s) announced via the DLA-3257-1 advisory.

Vulnerability Insight:
It was discovered that there was an issue in Emacs where where attackers could have executed arbitrary commands via shell metacharacters in the name of a source-code file.

This was because lib-src/etags.c used the system(3) library function when calling the (external) ctags(1) binary.

CVE-2022-45939

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.

For Debian 10 Buster, this problem has been fixed in version 1:26.1+1-3.2+deb10u3.

We recommend that you upgrade your emacs packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: [link moved to references]

Affected Software/OS:
'emacs' package(s) on Debian 10.

Solution:
Please install the updated package(s).

CVSS Score:
7.2

CVSS Vector:
AV:L/AC:L/Au:N/C:C/I:C/A:C

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2022-45939
Debian Security Information: DSA-5314 (Google Search)
https://www.debian.org/security/2023/dsa-5314
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GOXIH2FDEQJEAARE52C3GHTLGQFBYPIB/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FOSK3J7BBAEI4IITW2DRUKLQYUZYKH6Y/
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51
https://lists.debian.org/debian-lts-announce/2022/12/msg00046.html
CopyrightCopyright (C) 2023 Greenbone AG

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.