CWE
77
Advisory Published
Updated

REDHAT-BUG-2171989: Command Injection

First published: Tue Feb 21 2023(Updated: )

An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed. <a href="https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c">https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c</a>

Affected SoftwareAffected VersionHow to fix
GNU Emacs<=28.2

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 the severity of REDHAT-BUG-2171989?

    The severity of REDHAT-BUG-2171989 has been classified as high due to the command injection vulnerability.

  • How do I fix REDHAT-BUG-2171989?

    To fix REDHAT-BUG-2171989, update GNU Emacs to the latest version that addresses this vulnerability.

  • Which versions of software are affected by REDHAT-BUG-2171989?

    GNU Emacs versions up to and including 28.2 are affected by REDHAT-BUG-2171989.

  • What is the nature of the vulnerability in REDHAT-BUG-2171989?

    REDHAT-BUG-2171989 involves a command injection vulnerability due to unsanitized external inputs in the htmlfontify.el file.

  • Is there a specific function involved in REDHAT-BUG-2171989?

    Yes, the vulnerability in REDHAT-BUG-2171989 is associated with the hfy-istext-command function.

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