Vulnerabilities

CVE-2019-9948

Critical 9.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2019-03-23
Last modified
2026-10-14
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
11.8 % higher than 96 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Canonical Ubuntu Linux 12.04 Affected
Canonical Ubuntu Linux 14.04 Affected
Canonical Ubuntu Linux 16.04 Affected
Canonical Ubuntu Linux 18.04 Affected
Canonical Ubuntu Linux 19.04 Affected
Debian Debian Linux 8.0 Affected
Debian Debian Linux 9.0 Affected
Fedoraproject Fedora 29 Affected
Fedoraproject Fedora 30 Affected
Opensuse Leap 15.0 Affected
Opensuse Leap 42.3 Affected
Python Python ≥ 2.0, < 2.7.17 Affected
Python Python ≥ 3.5.0, < 3.5.8 Affected
Python Python ≥ 3.6.0, < 3.6.9 Affected
Python Python ≥ 3.7.0, < 3.7.4 Affected
Redhat Enterprise Linux Desktop 7.0 Affected
Redhat Enterprise Linux Desktop 8.0 Affected
Redhat Enterprise Linux Eus 8.1 Affected
Redhat Enterprise Linux Eus 8.2 Affected
Redhat Enterprise Linux Eus 8.4 Affected
Redhat Enterprise Linux Eus 8.6 Affected
Redhat Enterprise Linux Server 7.0 Affected
Redhat Enterprise Linux Server 8.0 Affected
Redhat Enterprise Linux Server Eus 8.4 Affected
Redhat Enterprise Linux Tus 8.2 Affected
Redhat Enterprise Linux Tus 8.4 Affected
Redhat Enterprise Linux Tus 8.6 Affected
Redhat Enterprise Linux Workstation 7.0 Affected
Redhat Enterprise Linux Workstation 8.0 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities