What’s Vulnerable › Vulnerabilities

CVE-2019-9948

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Python 2.7.17, 3.5.8, 3.6.9, 3.7.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-9948 or the next vulnerability affects your stack