QID 355171

Date Published: 2023-05-29

QID 355171: Amazon Linux Security Advisory for emacs : ALAS2023-2023-108

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. (
( CVE-2022-45939)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-108 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355171

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-108 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-108.html