All vulnerabilities

Servers and applications

CVE-2019-9948

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.

Severity
Critical 9.1
Published
23 Mar 2019
Last changed
14 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
2.7.17, 3.5.8, 3.6.9, 3.7.4
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • From 2.0 before 2.7.17
  • From 3.5.0 before 3.5.8
  • From 3.6.0 before 3.6.9
  • From 3.7.0 before 3.7.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2019-9948
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2019-9948