CVE-2019-9948 in the critical feed json
urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechan…
published 7y ago modified 26d ago also EUVD-2019-19302
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 11.8%
- EPSS 11.8% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- python2.7 Debian 11 2.7.16-2
debian advisories DEBIAN-CVE-2019-9948
- python2.7 Ubuntu 16.04 LTS 2.7.12-1ubuntu0~16.04.8
- python2.7 Ubuntu 18.04 LTS 2.7.15-4ubuntu4~18.04.1
- python3.5 Ubuntu 16.04 LTS 3.5.2-2ubuntu0~16.04.8
- python3.6 Ubuntu 18.04 LTS 3.6.8-1~18.04.2
- python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm2
- python3.4 Ubuntu Pro 14.04 LTS 3.4.3-1ubuntu1~14.04.7+esm2
- python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
ubuntu advisories UBUNTU-CVE-2019-9948
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pytz RHEL 8 2017.2-12.module+el8.1.0+3111+de3f2d8e
- babel RHEL 8 2.5.1-9.module+el8.1.0+3111+de3f2d8e
- numpy RHEL 8 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f
- scipy RHEL 8 1.0.0-20.module+el8.1.0+3323+7ac3e00f
- Cython RHEL 8 0.28.1-7.module+el8.1.0+3111+de3f2d8e
- pytest RHEL 8 3.4.2-13.module+el8.1.0+3111+de3f2d8e
- PyYAML RHEL 8 3.12-16.module+el8.1.0+3111+de3f2d8e
- python2 RHEL 8 2.7.16-12.module+el8.1.0+4148+33a50073
red hat advisories RHSA-2019:3335RHSA-2020:1462RHSA-2020:1346RHSA-2019:3725RHSA-2020:1268RHSA-2019:3520
- python SLE Module for Python 2 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Desktop Applications 15 +2 more 2.7.17-7.32.2
- python-base SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.7.17-7.32.1
- python SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +11 more 2.7.13-28.26.1
- python-base SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +14 more 2.7.13-28.26.1
- python SLE Module for Desktop Applications 15, SLE Module for Basesystem 15 2.7.14-7.11.1
- python-base SLE Module for Basesystem 15 2.7.14-7.11.1
- python SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.6.9-40.24.1
- python-base SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.6.9-40.24.1
suse advisories SUSE-SU-2020:0234-1SUSE-SU-2019:1439-1SUSE-SU-2019:0972-1SUSE-SU-2019:14018-1
- python openSUSE Tumbleweed 2.7.18-8.1
- python openSUSE Leap 15.0 2.7.14-lp150.6.10.1
opensuse advisories openSUSE-SU-2024:11202-1openSUSE-SU-2019:1273-1
- python2-py AlmaLinux 8 1.5.3-6.module_el8.6.0+2781+fed64c13
- python2-dns AlmaLinux 8 1.15.0-10.module_el8.6.0+2781+fed64c13
- python2-idna AlmaLinux 8 2.5-7.module_el8.6.0+2781+fed64c13
- python2-mock AlmaLinux 8 2.0.0-13.module_el8.6.0+2781+fed64c13
- python2-pytz AlmaLinux 8 2017.2-12.module_el8.6.0+2781+fed64c13
- python2-attrs AlmaLinux 8 17.4.0-10.module_el8.6.0+2781+fed64c13
- python2-Cython AlmaLinux 8 0.28.1-7.module_el8.6.0+2781+fed64c13
- python2-pluggy AlmaLinux 8 0.6.0-8.module_el8.6.0+2781+fed64c13
almalinux advisories ALSA-2019:3335
- pytz Rocky Linux 8 2017.2-12.module+el8.5.0+706+735ec4b3
- pytz Rocky Linux 8 2017.2-12.module+el8.4.0+403+9ae17a31
- babel Rocky Linux 8 2.5.1-9.module+el8.4.0+403+9ae17a31
- scipy Rocky Linux 8 1.0.0-20.module+el8.3.0+120+426d8baf
- Cython Rocky Linux 8 0.28.1-7.module+el8.5.0+706+735ec4b3
- Cython Rocky Linux 8 0.28.1-7.module+el8.4.0+403+9ae17a31
- pytest Rocky Linux 8 3.4.2-13.module+el8.5.0+706+735ec4b3
- pytest Rocky Linux 8 3.4.2-13.module+el8.4.0+403+9ae17a31
rocky linux advisories RLSA-2019:3335
- python2 Alpine 3.15, Alpine 3.14, Alpine 3.13 +4 more 2.7.16-r1
- python2 Alpine 3.8, Alpine 3.7 2.7.15-r2
- python2-tkinter Alpine 3.11, Alpine 3.10 2.7.17-r0
alpine advisories ALPINE-CVE-2019-9948
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/python/cpython#11842 pull request
Is CVE-2019-9948 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-9948 updated cvss 7.4
python: Undocumented local_file protocol allows remote attackers to bypass protection mechanisms
-
Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Software Collections rh-python35-python, rh-python35-python-libs, rh-python35-python-test, rh-python35-python-tools, rh-python35-python-tkinteraffected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Tower 3.4 for RHEL 7 Server ansible-tower-34/ansible-tower-memcached 1.4.15-28, ansible-tower-35/ansible-tower-memcached 1.4.15-28, ansible-tower-37/ansible-tower-memcached-rhel7 1.4.15-28fixed: vendor fix RHBA-2020:0547
-
Red Hat Enterprise Linux AppStream (v. 8) python3-idle 3.6.8-15.1.el8, python3-test 3.6.8-15.1.el8, platform-python 3.6.8-15.1.el8, python3-tkinter 3.6.8-15.1.el8, babel 2.5.1-9.module+el8.1.0+3111+de3f2d8e, pytz 2017.2-12.module+el8.1.0+3111+de3f2d8e, +88 morefixed: vendor fix RHSA-2019:3335
-
Red Hat Enterprise Linux BaseOS (v. 8) python3 3.6.8-15.1.el8, python3-libs 3.6.8-15.1.el8, python3-test 3.6.8-15.1.el8, platform-python 3.6.8-15.1.el8fixed: vendor fix RHSA-2019:3520
-
Red Hat Enterprise Linux Client (v. 7) python 2.7.5-86.el7, python-libs 2.7.5-86.el7 Red Hat Enterprise Linux Client Optional (v. 7) tkinter 2.7.5-86.el7, python-test 2.7.5-86.el7, python-tools 2.7.5-86.el7 Red Hat Enterprise Linux ComputeNode (v. 7) python 2.7.5-86.el7, python-libs 2.7.5-86.el7fixed: vendor fix RHSA-2019:2030
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) python 2.7.5-74.el7_5, python-libs 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) python 2.7.5-83.el7_6, python-libs 2.7.5-83.el7_6fixed: vendor fix RHSA-2020:1462
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) tkinter 2.7.5-86.el7, python-test 2.7.5-86.el7, python-tools 2.7.5-86.el7fixed: vendor fix RHSA-2019:2030
show 16 moreshow fewer
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) tkinter 2.7.5-74.el7_5, python-test 2.7.5-74.el7_5, python-tools 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) tkinter 2.7.5-83.el7_6, python-test 2.7.5-83.el7_6, python-tools 2.7.5-83.el7_6 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) python 2.7.5-83.el7_6, python-libs 2.7.5-83.el7_6 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) tkinter 2.7.5-83.el7_6, python-test 2.7.5-83.el7_6, python-tools 2.7.5-83.el7_6fixed: vendor fix RHSA-2020:1462
-
Red Hat Enterprise Linux Server (v. 7) python 2.7.5-86.el7, python-libs 2.7.5-86.el7fixed: vendor fix RHSA-2019:2030
-
Red Hat Enterprise Linux Server AUS (v. 7.4) python 2.7.5-63.el7_4, python-libs 2.7.5-63.el7_4 Red Hat Enterprise Linux Server E4S (v. 7.4) python 2.7.5-63.el7_4, python-libs 2.7.5-63.el7_4fixed: vendor fix RHSA-2020:1346
-
Red Hat Enterprise Linux Server EUS (v. 7.5) python 2.7.5-74.el7_5, python-libs 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux Server EUS (v. 7.6) python 2.7.5-83.el7_6, python-libs 2.7.5-83.el7_6fixed: vendor fix RHSA-2020:1462
-
Red Hat Enterprise Linux Server Optional (v. 7) tkinter 2.7.5-86.el7, python-test 2.7.5-86.el7, python-tools 2.7.5-86.el7fixed: vendor fix RHSA-2019:2030
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.4) tkinter 2.7.5-63.el7_4, python-test 2.7.5-63.el7_4, python-tools 2.7.5-63.el7_4 Red Hat Enterprise Linux Server Optional E4S (v. 7.4) tkinter 2.7.5-63.el7_4, python-test 2.7.5-63.el7_4, python-tools 2.7.5-63.el7_4fixed: vendor fix RHSA-2020:1346
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.5) tkinter 2.7.5-74.el7_5, python-test 2.7.5-74.el7_5, python-tools 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.6) tkinter 2.7.5-83.el7_6, python-test 2.7.5-83.el7_6, python-tools 2.7.5-83.el7_6fixed: vendor fix RHSA-2020:1462
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.4) tkinter 2.7.5-63.el7_4, python-test 2.7.5-63.el7_4, python-tools 2.7.5-63.el7_4 Red Hat Enterprise Linux Server TUS (v. 7.4) python 2.7.5-63.el7_4, python-libs 2.7.5-63.el7_4fixed: vendor fix RHSA-2020:1346
-
Red Hat Enterprise Linux Workstation (v. 7) python 2.7.5-86.el7, python-libs 2.7.5-86.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) tkinter 2.7.5-86.el7, python-test 2.7.5-86.el7, python-tools 2.7.5-86.el7fixed: vendor fix RHSA-2019:2030
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python 2.7.16-6.el6, python27-tkinter 2.7.16-6.el6, rh-python36-python 3.6.9-2.el6, python27-python-libs 2.7.16-6.el6, python27-python-test 2.7.16-6.el6, python27-python-tools 2.7.16-6.el6, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python 2.7.16-6.el7, python27-tkinter 2.7.16-6.el7, rh-python36-python 3.6.9-2.el7, python27-python-libs 2.7.16-6.el7, python27-python-test 2.7.16-6.el7, python27-python-tools 2.7.16-6.el7, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) python27-python 2.7.16-6.el7, python27-tkinter 2.7.16-6.el7, python27-python-libs 2.7.16-6.el7, python27-python-test 2.7.16-6.el7, python27-python-tools 2.7.16-6.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) python27-python 2.7.16-6.el7, python27-tkinter 2.7.16-6.el7, rh-python36-python 3.6.9-2.el7, python27-python-libs 2.7.16-6.el7, python27-python-test 2.7.16-6.el7, python27-python-tools 2.7.16-6.el7, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python 2.7.16-6.el7, python27-tkinter 2.7.16-6.el7, rh-python36-python 3.6.9-2.el7, python27-python-libs 2.7.16-6.el7, python27-python-test 2.7.16-6.el7, python27-python-tools 2.7.16-6.el7, +4 morefixed: vendor fix RHSA-2019:1700
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python 3.6.9-2.el7, rh-python36-python-libs 3.6.9-2.el7, rh-python36-python-test 3.6.9-2.el7, rh-python36-python-tools 3.6.9-2.el7, rh-python36-python-tkinter 3.6.9-2.el7fixed: vendor fix RHSA-2019:3725
-
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python 2.7.16-6.el6, python27-tkinter 2.7.16-6.el6, rh-python36-python 3.6.9-2.el6, python27-python-libs 2.7.16-6.el6, python27-python-test 2.7.16-6.el6, python27-python-tools 2.7.16-6.el6, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python 2.7.16-6.el7, python27-tkinter 2.7.16-6.el7, rh-python36-python 3.6.9-2.el7, python27-python-libs 2.7.16-6.el7, python27-python-test 2.7.16-6.el7, python27-python-tools 2.7.16-6.el7, +4 morefixed: vendor fix RHSA-2019:1700
-
Red Hat Enterprise Linux 7 python3, python3-idle, python3-libs, python3-test, python3-tkinter Red Hat Enterprise Linux 8 scipy, python36, python-nose, python-wheel, python3-bson, python3-nose, +19 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 9.1
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
11.84% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.python.org https://bugs.python.org/issue35907 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/python/cpython/pull/11842
patch, third-party-advisory
-
bugs.python.org
/issue35907
exploit, issue-tracking, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00092.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00050.html
vendor-advisory, mailing-list, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1700
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KRYFIMISZ47NTAU3XWZUOFB7CYL62KES/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HQEQLXLOCR3SNM3AA5RRYJFQ5AZBYJ4L/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2030
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4127-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4127-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3335
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3520
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202003-26
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/107549
vdb-entry, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190404-0004/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/06/msg00022.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00011.html
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Oct/29
mailing-list, third-party-advisory
-
packetstormsecurity.com
/files/154927/Slackware-Security-Advisory-python-Updates.html
third-party-advisory, vdb-entry
-
lists.debian.org
/debian-lts-announce/2020/07/msg00011.html
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
-
lists.debian.org
/debian-lts-announce/2020/08/msg00034.html
mailing-list, third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2019-9948
- NVD CVE-2019-9948
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.