CVE-2019-9948Python
Critical 9.1 No auth neededHigh EPSS
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.1
- EPSS
- 11.9% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Mar 23, 2019
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- packetstormsecurity.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugs.python.org Exploit Issue Tracking Vendor Advisory
- github.com Patch Third Party Advisory
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- seclists.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- cert-portal.siemens.com