CWE
77
Advisory Published
Updated

REDHAT-BUG-2075390: Command Injection

First published: Thu Apr 14 2022(Updated: )

A command injection vulnerability was found in Python 2.x and 3.x, specifically within the mailcap module. Mailcap core-module is based on the format documented in RFC 1524. The “findmatch()” function does not sanitise the second argument (filename). As a result, the legitimate command (that is used for opening the specified mime type) is concatenated with an arbitrary command, injected by an attacker.

Affected SoftwareAffected VersionHow to fix
Python Babel Localedata>=2.0<=3.x

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.

Reference Links

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2075390?

    The severity of REDHAT-BUG-2075390 is classified as high due to the potential for command injection.

  • How do I fix REDHAT-BUG-2075390?

    To fix REDHAT-BUG-2075390, you should update to the latest version of Python that addresses this vulnerability.

  • What versions of Python are affected by REDHAT-BUG-2075390?

    REDHAT-BUG-2075390 affects Python versions from 2.0 to 3.x.

  • What component of Python is vulnerable in REDHAT-BUG-2075390?

    The vulnerable component in REDHAT-BUG-2075390 is the mailcap module, specifically the findmatch() function.

  • Can REDHAT-BUG-2075390 lead to remote code execution?

    Yes, if exploited, REDHAT-BUG-2075390 can potentially lead to remote code execution through command injection.

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