CVE-2019-18348
Reported by mitre · Published October 23, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python2 | Alpine | 2.7.18-r0 |
| python3.4 | Ubuntu:Pro:14.04:LTS | 3.4.3-1ubuntu1~14.04.7+esm6 |
| python | python | 3.8.3, 3.7.8, 3.6.11, 3.5.10, 2.7.17 |
| alpine/python-3.13 | alpine | 3.9.0-alpha5, 3.8.3-rc1, 3.7.8-rc1, 3.6.11-rc1, 3.5.10-rc1, 2.7.18-rc1 |
| alpine/python-3.10 | alpine | 3.9.0-alpha5, 3.8.3-rc1, 3.7.8-rc1, 3.6.11-rc1, 3.5.10-rc1, 2.7.18-rc1 |
| python3.5 | Ubuntu:16.04:LTS | 3.5.2-2ubuntu0~16.04.10 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| python2.7 | Ubuntu:18.04:LTS | 2.7.17-1~18.04ubuntu1 |
| python | DHI | 3.9.0-alpha5, 3.8.3-rc1, 3.7.8-rc1, 3.6.11-rc1, 3.5.10-rc1, 2.7.18-rc1 |
| alpine/python-3.12 | alpine | 3.9.0-alpha5, 3.8.3-rc1, 3.7.8-rc1, 3.6.11-rc1, 3.5.10-rc1, 2.7.18-rc1 |
| python3.8 | Ubuntu:Pro:18.04:LTS | 3.8.0-3ubuntu1~18.04.2+esm2 |
| python3.7 | Ubuntu:Pro:18.04:LTS | 3.7.5-2ubuntu1~18.04.2+esm3 |
15 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | python2 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| n/a | n/a | * |
| alpine | python2-tkinter | 0 |
Timeline
- Oct 23, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (10 in total, the first dated here)
- Sep 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-18348
vulnetix vdb fixes CVE-2019-18348
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-18348/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2019-b06ec6159b vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-d202cda4f8 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-57462fa10d vendor-advisoryx_refsource_FEDORA
- USN-4333-1 vendor-advisoryx_refsource_UBUNTU
- USN-4333-2 vendor-advisoryx_refsource_UBUNTU
- openSUSE-SU-2020:0696 vendor-advisoryx_refsource_SUSE
- FEDORA-2020-8bdd3fd7a4 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-ea5bdbcc90 vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url