CWE
93
Advisory Published
Updated

REDHAT-BUG-1695572: CRLF Injection

First published: Wed Apr 03 2019(Updated: )

An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.2. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the path component of a URL) followed by an HTTP header or a Redis command. This is similar to <a href="https://access.redhat.com/security/cve/CVE-2019-9740">CVE-2019-9740</a> query string issue. Reference: <a href="https://bugs.python.org/issue35906">https://bugs.python.org/issue35906</a>

Affected SoftwareAffected VersionHow to fix
urllib>=2.0<2.7.16
urllib3>=3.0<3.7.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.

Reference Links

Frequently Asked Questions

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

    The vulnerability REDHAT-BUG-1695572 is classified as a CRLF injection issue which can severely impact the integrity of applications that rely on URL parsing.

  • How do I fix REDHAT-BUG-1695572?

    To mitigate the risks associated with REDHAT-BUG-1695572, upgrade Python versions to at least 2.7.17 for Python 2.x and 3.7.3 for Python 3.x.

  • What software is affected by REDHAT-BUG-1695572?

    The affected software for REDHAT-BUG-1695572 includes Python urllib2 versions up to 2.7.16 and Python urllib versions up to 3.7.2.

  • What type of attack does REDHAT-BUG-1695572 enable?

    REDHAT-BUG-1695572 allows attackers to perform CRLF injection attacks through controlled URL parameters.

  • Is authentication required to exploit REDHAT-BUG-1695572?

    No, exploitation of REDHAT-BUG-1695572 does not require authentication, making it a significant risk.

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