{"api_version":"1","generated_at":"2026-04-22T20:52:24+00:00","cve":"CVE-2019-9947","urls":{"html":"https://cve.report/CVE-2019-9947","api":"https://cve.report/api/cve/CVE-2019-9947.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-9947","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-9947"},"summary":{"title":"CVE-2019-9947","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 path component of a URL that lacks a ? character) followed by an HTTP header or a Redis command. This is similar to the CVE-2019-9740 query string issue. 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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-03-23 18:29:00","updated_at":"2023-11-07 03:13:00"},"problem_types":["CWE-93"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html","name":"[debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2280-1] python3.5 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html","name":"openSUSE-SU-2019:2389","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2389-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:3520","name":"RHSA-2019:3520","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4127-1/","name":"USN-4127-1","refsource":"UBUNTU","tags":[],"title":"USN-4127-1: Python vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html","name":"openSUSE-SU-2019:2393","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2393-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMWSKTNOHSUOT3L25QFJAVCFYZX46FYK/","name":"FEDORA-2019-ec26883852","refsource":"","tags":[],"title":"[SECURITY] Fedora 29 Update: python3-3.7.3-3.fc29 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXASHCDD4PQFKTMKQN4YOP5ZH366ABN4/","name":"FEDORA-2019-1ffd6b6064","refsource":"","tags":[],"title":"[SECURITY] Fedora 30 Update: python3-3.7.3-3.fc30 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202003-26","name":"GLSA-202003-26","refsource":"GENTOO","tags":[],"title":"Python: Multiple vulnerabilities (GLSA 202003-26) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2020:0086-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20190404-0004/","name":"https://security.netapp.com/advisory/ntap-20190404-0004/","refsource":"CONFIRM","tags":[],"title":"March 2019 Python Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4127-2/","name":"USN-4127-2","refsource":"UBUNTU","tags":[],"title":"USN-4127-2: Python vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:2030","name":"RHSA-2019:2030","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html","name":"[debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1835-1] python3.4 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html","name":"[debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1834-1] python2.7 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00026.html","name":"[debian-lts-announce] 20190625 [SECURITY] [DLA 1835-2] python3.4 regression update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1835-2] python3.4 regression update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:3335","name":"RHSA-2019:3335","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.python.org/issue35906","name":"https://bugs.python.org/issue35906","refsource":"MISC","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory"],"title":"Issue 35906: [CVE-2019-9947] Header Injection in urllib - Python tracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:3725","name":"RHSA-2019:3725","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2021/02/04/2","name":"[oss-security] 20210204 [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header Crlf Injection & Server Response Validation","refsource":"MLIST","tags":[],"title":"oss-security - [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header\n Crlf Injection & Server Response Validation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JMWSKTNOHSUOT3L25QFJAVCFYZX46FYK/","name":"FEDORA-2019-ec26883852","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 29 Update: python3-3.7.3-3.fc29 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:1260","name":"RHSA-2019:1260","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html","name":"[debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2337-1] python2.7 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXASHCDD4PQFKTMKQN4YOP5ZH366ABN4/","name":"FEDORA-2019-1ffd6b6064","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 30 Update: python3-3.7.3-3.fc30 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-9947","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-9947","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"9947","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"python","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9947","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"python","cpe6":"2.7.16","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9947","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"python","cpe6":"2.7.16","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9947","vulnerable":"1","versionEndIncluding":"2.7.15","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"python","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9947","vulnerable":"1","versionEndIncluding":"3.7.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"python","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-9947","qid":"159668","title":"Oracle Enterprise Linux Security Update for python27:2.7 security and bug fix update (ELSA-2019-3335)"},{"cve":"CVE-2019-9947","qid":"296073","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 24.75.2 Missing (CPUJUL2020)"},{"cve":"CVE-2019-9947","qid":"296081","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 12.5.0 Missing (CPUJUL2019)"},{"cve":"CVE-2019-9947","qid":"377306","title":"Alibaba Cloud Linux Security Update for python (ALINUX2-SA-2019:0094)"},{"cve":"CVE-2019-9947","qid":"377387","title":"Alibaba Cloud Linux Security Update for python3 (ALINUX3-SA-2021:0080)"},{"cve":"CVE-2019-9947","qid":"940202","title":"AlmaLinux Security Update for python27:2.7 (ALSA-2019:3335)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-9947","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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 path component of a URL that lacks a ? character) followed by an HTTP header or a Redis command. This is similar to the CVE-2019-9740 query string issue. 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://bugs.python.org/issue35906","refsource":"MISC","name":"https://bugs.python.org/issue35906"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20190404-0004/","url":"https://security.netapp.com/advisory/ntap-20190404-0004/"},{"refsource":"FEDORA","name":"FEDORA-2019-1ffd6b6064","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXASHCDD4PQFKTMKQN4YOP5ZH366ABN4/"},{"refsource":"REDHAT","name":"RHSA-2019:1260","url":"https://access.redhat.com/errata/RHSA-2019:1260"},{"refsource":"FEDORA","name":"FEDORA-2019-ec26883852","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JMWSKTNOHSUOT3L25QFJAVCFYZX46FYK/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update","url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update","url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20190625 [SECURITY] [DLA 1835-2] python3.4 regression update","url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00026.html"},{"refsource":"REDHAT","name":"RHSA-2019:2030","url":"https://access.redhat.com/errata/RHSA-2019:2030"},{"refsource":"UBUNTU","name":"USN-4127-2","url":"https://usn.ubuntu.com/4127-2/"},{"refsource":"UBUNTU","name":"USN-4127-1","url":"https://usn.ubuntu.com/4127-1/"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2389","url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2393","url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html"},{"refsource":"REDHAT","name":"RHSA-2019:3335","url":"https://access.redhat.com/errata/RHSA-2019:3335"},{"refsource":"REDHAT","name":"RHSA-2019:3520","url":"https://access.redhat.com/errata/RHSA-2019:3520"},{"refsource":"REDHAT","name":"RHSA-2019:3725","url":"https://access.redhat.com/errata/RHSA-2019:3725"},{"refsource":"SUSE","name":"openSUSE-SU-2020:0086","url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"},{"refsource":"GENTOO","name":"GLSA-202003-26","url":"https://security.gentoo.org/glsa/202003-26"},{"refsource":"MLIST","name":"[debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update","url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html"},{"refsource":"MLIST","name":"[oss-security] 20210204 [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header Crlf Injection & Server Response Validation","url":"http://www.openwall.com/lists/oss-security/2021/02/04/2"}]}},"nvd":{"publishedDate":"2019-03-23 18:29:00","lastModifiedDate":"2023-11-07 03:13:00","problem_types":["CWE-93"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6.0","versionEndExcluding":"3.6.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7.0","versionEndExcluding":"3.7.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5.0","versionEndExcluding":"3.5.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","versionStartIncluding":"2.7.0","versionEndExcluding":"2.7.17","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"9947","Ordinal":"148160","Title":"CVE-2019-9947","CVE":"CVE-2019-9947","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"9947","Ordinal":"1","NoteData":"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 path component of a URL that lacks a ? character) followed by an HTTP header or a Redis command. This is similar to the CVE-2019-9740 query string issue. 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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"9947","Ordinal":"2","NoteData":"2019-03-23","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"9947","Ordinal":"3","NoteData":"2021-02-04","Type":"Other","Title":"Modified"}]}}}