CVE-2019-9948 in Canonical Ubuntu Linux and 10 more products
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.
Affects 11 products from 7 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 18.04 19.04 |
| Debian | Debian Linux | 8.0 9.0 |
| Fedoraproject | Fedora | 29 30 |
| Opensuse | Leap | 15.0 42.3 |
| Python | Python | ≥ 2.0, < 2.7.17 ≥ 3.5.0, < 3.5.8 ≥ 3.6.0, < 3.6.9 ≥ 3.7.0, < 3.7.4 |
| Redhat | Enterprise Linux Server Eus | 8.4 |
| Redhat | Enterprise Linux Tus | 8.2 8.4 8.6 |
| Redhat | Enterprise Linux Desktop | 7.0 8.0 |
| Redhat | Enterprise Linux Eus | 8.1 8.2 8.4 8.6 |
| Redhat | Enterprise Linux Workstation | 7.0 8.0 |
| Redhat | Enterprise Linux Server | 7.0 8.0 |
| Siemens | — | — |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- Update to V3.1.5 or later version
Source: ICSA-23-348-10
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2019-9948 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-142470-C |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all urllib requests to prevent the use of the local_file: scheme. Additionally, consider using a more secure version of Python that does not support this scheme.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.