CVE-2019-9740
An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the…
- 6.5MediumCVSS base score
- 5.4%Exploitation in 30 daysEPSS · top 7.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. 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 query string after a ? character) followed by an HTTP header or a Redis command. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.9, v3.6.9rc1; v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 8 years later
· 8 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 5.4% · top 7.2% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
References
References30
- 107466 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- FEDORA-2019-1ffd6b6064 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- RHSA-2019:1260 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- FEDORA-2019-ec26883852 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1835-2] python3.4 regression update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2019-7723d4774a (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-7df59302e0 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- RHSA-2019:2030 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-4127-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- openSUSE-SU-2019:2131 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:2133 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- USN-4127-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20191021 [slackware-security] python (SSA:2019-293-01) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2019:3335 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3520 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3725 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- FEDORA-2019-b06ec6159b (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-d202cda4f8 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-57462fa10d (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- GLSA-202003-26 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20210204 [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header Crlf Injection & Server Response Validation (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.python.org/issue36276 (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20190619-0005/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-19103 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-9740)Record last updated .