Skip to content
Fencer Vulns
medium 5.4

CVE-2019-18348 json

An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0.

published 2019-10-23 7 y ago modified 2026-10-14 26 d ago also EUVD-2019-8136

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.5%
EPSS 3.5% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.

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.18~rc1-1

debian advisories DEBIAN-CVE-2019-18348

  • python2.7 Ubuntu 16.04 LTS 2.7.12-1ubuntu0~16.04.11
  • python2.7 Ubuntu 18.04 LTS 2.7.17-1~18.04ubuntu1
  • python3.5 Ubuntu 16.04 LTS 3.5.2-2ubuntu0~16.04.10
  • python3.6 Ubuntu 18.04 LTS 3.6.9-1~18.04ubuntu1
  • python3.8 Ubuntu 20.04 LTS 3.8.2-1ubuntu1.1
  • python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm5
  • python3.4 Ubuntu Pro 14.04 LTS 3.4.3-1ubuntu1~14.04.7+esm6
  • python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1

ubuntu advisories UBUNTU-CVE-2019-18348

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

  • rh-python36-python RHEL 3 SOFTWARE_COLLECTIONS 3.6.12-1.el6
  • rh-python36-python RHEL 3 SOFTWARE_COLLECTIONS 3.6.12-1.el7
  • rh-python36-python-pip RHEL 3 SOFTWARE_COLLECTIONS 9.0.1-5.el6
  • rh-python36-python-pip RHEL 3 SOFTWARE_COLLECTIONS 9.0.1-5.el7
  • rh-python36-python-libs RHEL 3 SOFTWARE_COLLECTIONS 3.6.12-1.el6
  • rh-python36-python-libs RHEL 3 SOFTWARE_COLLECTIONS 3.6.12-1.el7
  • rh-python36-python-test RHEL 3 SOFTWARE_COLLECTIONS 3.6.12-1.el6
  • rh-python36-python-test RHEL 3 SOFTWARE_COLLECTIONS 3.6.12-1.el7

red hat advisories RHSA-2020:4285RHSA-2020:4273

  • python3 SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3, SLE Micro 5.3 +5 more 3.6.15-150300.10.37.2
  • python3-core SLE Module for Development Tools 15 SP4, SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP4 +7 more 3.6.15-150300.10.37.2
  • python3-documentation openSUSE Leap 15.4, openSUSE Leap 15.3 3.6.15-150300.10.37.1
  • python SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +13 more 2.7.18-28.67.1
  • python-base SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +14 more 2.7.18-28.67.1
  • python3 SLES for SAP 15, SLES 15-LTSS, SLE Module for Basesystem 15 SP2 +3 more 3.6.12-3.67.2
  • python3-core SLES for SAP 15, SLES 15-LTSS, SLE Module for Development Tools 15 SP2 +5 more 3.6.12-3.67.2
  • python36 SLES for SAP 12 SP5, SLES 12 SP5 3.6.12-4.25.1

suse advisories SUSE-SU-2022:4281-1SUSE-SU-2021:0794-1SUSE-SU-2020:3930-1SUSE-SU-2020:3865-1SUSE-SU-2020:1524-1SUSE-SU-2020:1339-1

  • python openSUSE Tumbleweed 2.7.18-8.1
  • python36 openSUSE Tumbleweed 3.6.15-1.1
  • python3 openSUSE Leap 15.1 3.6.12-lp151.6.32.1
  • python3-core openSUSE Leap 15.1 3.6.12-lp151.6.32.1
  • python3-documentation openSUSE Leap 15.1 3.6.12-lp151.6.32.1
  • python3 openSUSE Leap 15.2 3.6.12-lp152.4.14.1
  • python3-core openSUSE Leap 15.2 3.6.12-lp152.4.14.1
  • python3-documentation openSUSE Leap 15.2 3.6.12-lp152.4.14.1

opensuse advisories openSUSE-SU-2024:11202-1openSUSE-SU-2024:11284-1openSUSE-SU-2020:2333-1openSUSE-SU-2020:2332-1openSUSE-SU-2020:0696-1

  • python2 Alpine 3.15, Alpine 3.14, Alpine 3.13 +4 more 2.7.18-r0
  • python2-tkinter Alpine 3.11, Alpine 3.10 2.7.18-r0

alpine advisories ALPINE-CVE-2019-18348

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor 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-18348 updated cvss 6.5

python: CRLF injection via the host part of the url passed to urlopen()

  • Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python 3.6.12-1.el6, rh-python36-python-pip 9.0.1-5.el6, rh-python36-python-libs 3.6.12-1.el6, rh-python36-python-test 3.6.12-1.el6, rh-python36-python-tools 3.6.12-1.el6, rh-python36-python-tkinter 3.6.12-1.el6, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python 2.7.18-2.el7, python27-tkinter 2.7.18-2.el7, python27-python-pip 8.1.2-6.el7, rh-python36-python 3.6.12-1.el7, python27-python-libs 2.7.18-2.el7, python27-python-test 2.7.18-2.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python 2.7.18-2.el7, python27-tkinter 2.7.18-2.el7, python27-python-pip 8.1.2-6.el7, rh-python36-python 3.6.12-1.el7, python27-python-libs 2.7.18-2.el7, python27-python-test 2.7.18-2.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) python27-python 2.7.18-2.el7, python27-tkinter 2.7.18-2.el7, python27-python-pip 8.1.2-6.el7, rh-python36-python 3.6.12-1.el7, python27-python-libs 2.7.18-2.el7, python27-python-test 2.7.18-2.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python 3.6.12-1.el6, rh-python36-python-pip 9.0.1-5.el6, rh-python36-python-libs 3.6.12-1.el6, rh-python36-python-test 3.6.12-1.el6, rh-python36-python-tools 3.6.12-1.el6, rh-python36-python-tkinter 3.6.12-1.el6, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python 2.7.18-2.el7, python27-tkinter 2.7.18-2.el7, python27-python-pip 8.1.2-6.el7, rh-python36-python 3.6.12-1.el7, python27-python-libs 2.7.18-2.el7, python27-python-test 2.7.18-2.el7, +8 more
    fixed: vendor fix RHSA-2020:4285
  • Red Hat Enterprise Linux 8 scipy, python2, python3, python36, python-nose, python-wheel, +30 more
    not 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 6.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.5
    affected: 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
32 d ago

Exploit prediction

3.51% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/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-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Sources

Fencer Vulns 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.