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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-9942A sandbox information disclosure exists in Twig before 1.38.…3.7
- CVE-2019-9943In ome.services.graphs.GraphTraversal.findObjectDetails in O…7.5
- CVE-2019-9944In Open Microscopy Environment OMERO.server 5.0.0 through 5.…7.5
- CVE-2019-9945SoftNAS Cloud 4.2.0 and 4.2.1 allows remote command executio…
- CVE-2019-9946Cloud Native Computing Foundation (CNCF) CNI (Container Netw…
- CVE-2019-9947An issue was discovered in urllib2 in Python 2.x through 2.7…6.1
- CVE-2019-9949Western Digital My Cloud Cloud, Mirror Gen2, EX2 Ultra, EX21…
- CVE-2019-9950Western Digital My Cloud, My Cloud Mirror Gen2, My Cloud EX2…
- CVE-2019-9951Western Digital My Cloud, My Cloud Mirror Gen2, My Cloud EX2…
- CVE-2019-9955On Zyxel ATP200, ATP500, ATP800, USG20-VPN, USG20W-VPN, USG4…
- CVE-2019-9956In ImageMagick 7.0.8-35 Q16, there is a stack-based buffer o…
- CVE-2019-9957Stored XSS within Quadbase EspressReport ES (ERES) v7.0 upda…
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
