Advisory Published
Updated

REDHAT-BUG-1695570

First published: Wed Apr 03 2019(Updated: )

urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call. Reference: <a href="https://bugs.python.org/issue35907">https://bugs.python.org/issue35907</a> <a href="https://github.com/python/cpython/pull/11842">https://github.com/python/cpython/pull/11842</a>

Affected SoftwareAffected VersionHow to fix
urllib3<=2.7.16

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-1695570?

    The severity of REDHAT-BUG-1695570 is considered high due to the potential for remote code execution via local file access.

  • How do I fix REDHAT-BUG-1695570?

    To fix REDHAT-BUG-1695570, upgrade urllib to version 2.7.17 or later, which addresses this vulnerability.

  • Who is affected by REDHAT-BUG-1695570?

    Users of Python urllib versions up to and including 2.7.16 are affected by REDHAT-BUG-1695570.

  • What is the impact of REDHAT-BUG-1695570?

    The impact of REDHAT-BUG-1695570 allows attackers to bypass file protection mechanisms and access sensitive system files.

  • What types of attacks leverage REDHAT-BUG-1695570?

    Remote attackers can exploit REDHAT-BUG-1695570 to invoke urllib with malicious file URIs, potentially leading to unauthorized data exposure.

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