CVE-2022-48337: OS Command Injection

Published 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.

Affected Software

3 affected componentsFixes available
gnu Emacs<=28.2
Debian Debian Linux=11.0
debian/emacs
1:27.1+1-3.1+deb11u51:27.1+1-3.1+deb11u61:28.2+1-15+deb12u41:30.1+1-5

Event History

Feb 20, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Feb 21, 2023
Data Sourced
via Red Hat·06:23 AM
DescriptionSeverityAffected Software
Sep 23, 2024
Data Sourced
via Ubuntu·08:42 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·08:43 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

How severe is CVE-2022-48337?

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

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203