CVE-2019-9948
Critical
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.
SeverityCritical
CVSS9.1
Exploit probability96. percentile11.8%
Product
Python
PublishedMar 23, 2019
First seenMar 23, 2019
Weakness typeCWE-22Path traversal
How to fix
Update
- python python2.7.17, 3.5.8, 3.6.9, 3.7.4 or later
Vendor advisories
- access.redhat.com/errata/RHSA-2019:1700
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRYFIMISZ47NTAU3XWZUOFB7CYL62KES/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQEQLXLOCR3SNM3AA5RRYJFQ5AZBYJ4L/
- access.redhat.com/errata/RHSA-2019:2030
- usn.ubuntu.com/4127-2/
- usn.ubuntu.com/4127-1/
- access.redhat.com/errata/RHSA-2019:3335
- access.redhat.com/errata/RHSA-2019:3520
- security.gentoo.org/glsa/202003-26
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python python | 2.0 ≤ v < 2.7.17, 3.5.0 ≤ v < 3.5.8, 3.6.0 ≤ v < 3.6.9, 3.7.0 ≤ v < 3.7.4 | 2.7.17, 3.5.8, 3.6.9, 3.7.4 |
| opensuse leap | 15.0, 42.3 | — |
| debian debian_linux | 8.0, 9.0 | — |
| fedoraproject fedora | 29, 30 | — |
| canonical ubuntu_linux | 12.04, 14.04, 16.04, 18.04, 19.04 | — |
| redhat enterprise_linux_desktop | 7.0, 8.0 | — |
| redhat enterprise_linux_eus | 8.1, 8.2, 8.4, 8.6 | — |
| redhat enterprise_linux_server | 7.0, 8.0 | — |
| redhat enterprise_linux_server_eus | 8.4 | — |
| redhat enterprise_linux_tus | 8.2, 8.4, 8.6 | — |
| redhat enterprise_linux_workstation | 7.0, 8.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.