CVE-2019-9948
Last modified
CVE-2019-9948 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 11.84% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Python | >= 2.0, < 2.7.17 |
| Python | Python | >= 3.5.0, < 3.5.8 |
| Python | Python | >= 3.6.0, < 3.6.9 |
| Python | Python | >= 3.7.0, < 3.7.4 |
| Opensuse | Leap | 15.0 |
| Opensuse | Leap | 42.3 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 29 |
| Fedoraproject | Fedora | 30 |
| Canonical | Ubuntu Linux | 12.04 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 19.04 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Desktop | 8.0 |
| Redhat | Enterprise Linux Eus | 8.1 |
| Redhat | Enterprise Linux Eus | 8.2 |
| Redhat | Enterprise Linux Eus | 8.4 |
| Redhat | Enterprise Linux Eus | 8.6 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server | 8.0 |
| Redhat | Enterprise Linux Server Eus | 8.4 |
| Redhat | Enterprise Linux Tus | 8.2 |
| Redhat | Enterprise Linux Tus | 8.4 |
| Redhat | Enterprise Linux Tus | 8.6 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Workstation | 8.0 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00092.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00050.htmlMailing List, Third Party Advisory
- http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.htmlThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/107549Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:1700Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2030Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3335Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3520Third Party Advisory
- https://bugs.python.org/issue35907Exploit, Issue Tracking, Vendor Advisory
- https://github.com/python/cpython/pull/11842Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/06/msg00022.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00034.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Oct/29Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-26Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190404-0004/Third Party Advisory
- https://usn.ubuntu.com/4127-1/Third Party Advisory
- https://usn.ubuntu.com/4127-2/Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00092.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00050.htmlMailing List, Third Party Advisory
- http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.htmlThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/107549Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:1700Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2030Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3335Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3520Third Party Advisory
- https://bugs.python.org/issue35907Exploit, Issue Tracking, Vendor Advisory
- https://github.com/python/cpython/pull/11842Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/06/msg00022.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00034.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Oct/29Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-26Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190404-0004/Third Party Advisory
- https://usn.ubuntu.com/4127-1/Third Party Advisory
- https://usn.ubuntu.com/4127-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-9948?
How severe is CVE-2019-9948?
How do I fix CVE-2019-9948?
Are you affected by CVE-2019-9948?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
