CVE-2019-9948
No exploitation reported by the sources we read.
- Published2019-03-23
- Fixed in3.7.4 · 3.6.9 · 3.5.8 · 2.7.17
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2019-03-2318:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.7 | ≥ 3.7.0, < 3.7.4 | 3.7.4 | NVD |
| 3.6 | ≥ 3.6.0, < 3.6.9 | 3.6.9 | NVD |
| 3.5 | ≥ 3.5.0, < 3.5.8 | 3.5.8 | NVD |
| 2.x | ≥ 2.0, < 2.7.17 | 2.7.17 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.4 | = 12.04 | no fix published | NVD |
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 19.4 | = 19.04 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.1 | = 8.1 | no fix published | NVD |
| 8.2 | = 8.2 | no fix published | NVD |
| 8.4 | = 8.4 | no fix published | NVD |
| 8.6 | = 8.6 | no fix published | NVD |
8 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- babelRocky Linux:8all versions · fixed in 0:2.5.1-9.module+el8.4.0+403+9ae17a31
- babelRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.5.1-9.module+el8.1.0+3111+de3f2d8eand 1 other package
- CythonRocky Linux:8all versions · fixed in 0:0.28.1-7.module+el8.4.0+403+9ae17a31
- CythonRocky Linux:8all versions · fixed in 0:0.28.1-7.module+el8.5.0+706+735ec4b3
- CythonRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:0.28.1-7.module+el8.1.0+3111+de3f2d8eand 3 other packages
- platform-pythonRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:3.6.8-15.1.el8and 7 other packages
- pytestRocky Linux:8all versions · fixed in 0:3.4.2-13.module+el8.4.0+403+9ae17a31
- pytestRocky Linux:8all versions · fixed in 0:3.4.2-13.module+el8.5.0+706+735ec4b3
193 more package ranges on OSV.dev
Vendor advisories
python: Undocumented local_file protocol allows remote attackers to bypass protection mechanisms
python.src as a component of Red Hat Enterprise Linux 5 · python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · +13 more
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
Red Hat Security Advisory: python security update
Red Hat Security Advisory: python security update
Red Hat Security Advisory: python security update
6 more advisories
Fix
- Update Python to 3.7.4 · 3.6.9 · 3.5.8 · 2.7.17
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix Red Hat Product Security RHSA-2020:1462 · 76 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHBA-2020:0547 · 3 productsFor information on upgrading Ansible Tower, reference the Ansible Tower Upgrade and Migration Guide: https://docs.ansible.com/ansible-tower/latest/html/upgrade-migration-guide/index.html
- Workaround from the vendor Red Hat Product Security RHSA-2020:1462 · 76 productsIf your application uses a blacklist to prevent "file://" schema from being used, consider using a whitelist approach to just allow the schemas you want or add "local_file://" schema to your blacklist.
- Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
Advisories and patches
- bugs.python.orgVendor Advisory
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-07
- CISA-ADPCVSS 3.19.12026-10-07
- NVDCVSS 3.19.1read 2026-10-23
- NVDCVSS 2.06.4read 2026-10-23
- CISA-ADPweakness (CWE)CWE-222026-10-07
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score11.8 %read 2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2019-19302same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-24p8-x4mp-cq86same flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2019:3335advisory covering several CVEsAlmaLinux · MIT
- DLA-1834-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-1852-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2280-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2337-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2019-0165advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2019-0318advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2019:1273-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11202-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2019:1700advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:2030advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:3335advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:3520advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:3725advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:1268advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:1346advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:1462advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2019:3335advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2019:0972-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:14018-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:1439-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:0234-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-4127-1advisory covering several CVEsUbuntu
- USN-4127-2advisory covering several CVEsUbuntu
- USN-6891-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Published
- 2019-03-23
- Last Modified
- 2026-10-14
- NVD status
- Modified
- GitHub Advisory
- GHSA-24p8-x4mp-cq86
Frequently asked questions
What is CVE-2019-9948?
Is CVE-2019-9948 actively exploited?
What is the CVSS score for CVE-2019-9948?
Running Python? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-24p8-x4mp-cq86
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0