CWE
78
Advisory Published
Updated

CVE-2022-48337: OS Command Injection

First published: Mon Feb 20 2023(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
GNU Emacs<=28.2
Debian Debian Linux=11.0
debian/emacs
1:27.1+1-3.1+deb11u5
1:28.2+1-15+deb12u3
1:29.4+1-3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-48337?

    CVE-2022-48337 is a vulnerability in GNU Emacs that allows attackers to execute commands via shell metacharacters in the name of a source-code file.

  • What software versions are affected by CVE-2022-48337?

    GNU Emacs versions up to 28.2 and Debian Linux version 11.0 are affected by CVE-2022-48337.

  • How severe is CVE-2022-48337?

    CVE-2022-48337 has a severity rating of 9.8 (Critical).

  • How can an attacker exploit CVE-2022-48337?

    Attackers can exploit CVE-2022-48337 by using shell metacharacters in the name of a source-code file to execute commands.

  • Is there a fix available for CVE-2022-48337?

    Yes, a fix is available. Users should update to the latest version of GNU Emacs or apply the recommended updates for Debian Linux.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203