python: CRLF injection via the path part of the url passed to urlopen()
Published Mar 23, 2019
6.1
MEDIUMCVSS 3.1
EPSS 5.25%
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.
Affected products
No data.
No data.
Red Hat Ansible Tower 3.4 for RHEL 7
ansible-tower-34/ansible-tower-memcached:1.4.15-28
Fixed · RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7
ansible-tower-35/ansible-tower-memcached:1.4.15-28
Fixed · RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7
ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28
Fixed · RHBA-2020:0547
Red Hat Enterprise Linux 7
python-0:2.7.5-86.el7
Fixed · RHSA-2019:2030
Red Hat Enterprise Linux 7.4 Advanced Update Support
python-0:2.7.5-63.el7_4
Fixed · RHSA-2020:1346
Red Hat Enterprise Linux 7.4 Telco Extended Update Support
python-0:2.7.5-63.el7_4
Fixed · RHSA-2020:1346
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
python-0:2.7.5-63.el7_4
Fixed · RHSA-2020:1346
Red Hat Enterprise Linux 7.5 Extended Update Support
python-0:2.7.5-74.el7_5
Fixed · RHSA-2020:1268
Red Hat Enterprise Linux 7.6 Extended Update Support
python-0:2.7.5-83.el7_6
Fixed · RHSA-2020:1462
Red Hat Enterprise Linux 8
python27:2.7-8010020190903182548.51c94b97
Fixed · RHSA-2019:3335
Red Hat Enterprise Linux 8
python3-0:3.6.8-15.1.el8
Fixed · RHSA-2019:3520
Red Hat Enterprise Linux 8
python3-0:3.6.8-15.1.el8
Fixed · RHSA-2019:3520
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-0:2.7.16-4.el6
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-jinja2-0:2.6-12.el6
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-python36-python-0:3.6.9-2.el6
Fixed · RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-0:2.7.16-4.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-jinja2-0:2.6-15.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python36-python-0:3.6.9-2.el7
Fixed · RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
python27-python-0:2.7.16-4.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
python27-python-jinja2-0:2.6-15.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
python27-python-0:2.7.16-4.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
python27-python-jinja2-0:2.6-15.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-python36-python-0:3.6.9-2.el7
Fixed · RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
python27-python-0:2.7.16-4.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
python27-python-jinja2-0:2.6-15.el7
Fixed · RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-python36-python-0:3.6.9-2.el7
Fixed · RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python36-python-0:3.6.9-2.el7
Fixed · RHSA-2019:3725
Red Hat Enterprise Linux 5
python
Will not fix
Red Hat Enterprise Linux 6
python
Will not fix
Red Hat Enterprise Linux 7
python3
Not affected
Red Hat Enterprise Linux 8
python36:3.6/python36
Not affected
Red Hat Software Collections
rh-python35-python
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Tower 3.4 for RHEL 7 | ansible-tower-34/ansible-tower-memcached:1.4.15-28 | Fixed | RHBA-2020:0547 |
| Red Hat Ansible Tower 3.4 for RHEL 7 | ansible-tower-35/ansible-tower-memcached:1.4.15-28 | Fixed | RHBA-2020:0547 |
| Red Hat Ansible Tower 3.4 for RHEL 7 | ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28 | Fixed | RHBA-2020:0547 |
| Red Hat Enterprise Linux 7 | python-0:2.7.5-86.el7 | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | python-0:2.7.5-63.el7_4 | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | python-0:2.7.5-63.el7_4 | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | python-0:2.7.5-63.el7_4 | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | python-0:2.7.5-74.el7_5 | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | python-0:2.7.5-83.el7_6 | Fixed | RHSA-2020:1462 |
| Red Hat Enterprise Linux 8 | python27:2.7-8010020190903182548.51c94b97 | Fixed | RHSA-2019:3335 |
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-15.1.el8 | Fixed | RHSA-2019:3520 |
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-15.1.el8 | Fixed | RHSA-2019:3520 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-0:2.7.16-4.el6 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-jinja2-0:2.6-12.el6 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-python36-python-0:3.6.9-2.el6 | Fixed | RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.16-4.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-jinja2-0:2.6-15.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python36-python-0:3.6.9-2.el7 | Fixed | RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | python27-python-0:2.7.16-4.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | python27-python-jinja2-0:2.6-15.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | python27-python-0:2.7.16-4.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | python27-python-jinja2-0:2.6-15.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-python36-python-0:3.6.9-2.el7 | Fixed | RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | python27-python-0:2.7.16-4.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | python27-python-jinja2-0:2.6-15.el7 | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-python36-python-0:3.6.9-2.el7 | Fixed | RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python36-python-0:3.6.9-2.el7 | Fixed | RHSA-2019:3725 |
| Red Hat Enterprise Linux 5 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | python3 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Not affected | n/a |
| Red Hat Software Collections | rh-python35-python | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.25% (0.05253) | 92.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.41% (0.05406) | 91.63th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.54% (0.00539) | 64.91th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.07% (0.02070) | 73.26th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.72% (0.00722) | 70.83th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.37% (0.00367) | 73.37th | v3 (v2023.03.01) |
| May 3, 2024 | 0.25% (0.00252) | 64.89th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.25% (0.00252) | 62.85th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.21% (0.00214) | 57.60th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Mar 31, 2022 | 17.11% (0.17112) | 93.17th | v2 (v2022.01.01) |
| Jan 6, 2022 | 17.34% (0.17337) | 90.43th | v1 |
| Jan 5, 2022 | 4.47% (0.04466) | 84.27th | v5 (v2026.06.15) |
| Apr 14, 2021 | 4.47% (0.04466) | 0.00th | v1 |
References (25)
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/02/04/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1260 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2030 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3335 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3520 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3725 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-9947 Vendor Advisory
- https://bugs.python.org/issue35906 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1695572 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/06/msg00026.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMWSKTNOHSUOT3L25QFJAVCFYZX46FYK/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXASHCDD4PQFKTMKQN4YOP5ZH366ABN4/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-9947
- https://security.gentoo.org/glsa/202003-26 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.netapp.com/advisory/ntap-20190404-0004/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4127-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/4127-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9947
Change history (0)
No recorded changes yet.