7.3
CWE
77
Advisory Published
Updated

CVE-2022-48338: Command Injection

First published: Mon Feb 20 2023(Updated: )

An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.

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

Affected SoftwareAffected VersionHow to fix
GNU Emacs<=28.2
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-48338?

    CVE-2022-48338 is a vulnerability discovered in GNU Emacs through version 28.2.

  • What is the severity of CVE-2022-48338?

    The severity of CVE-2022-48338 is high with a CVSS score of 7.3.

  • How does CVE-2022-48338 affect GNU Emacs?

    CVE-2022-48338 affects GNU Emacs versions up to 28.2.

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

    Yes, a fix is available. Please refer to the references for more information.

  • Where can I find more information about CVE-2022-48338?

    You can find more information about CVE-2022-48338 in the provided references.

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