python-urllib3: ReDoS in the parsing of authority part of URL
Published Jun 29, 2021
8.7
HIGHCVSS 4.0
EPSS 3.27%
Description
An issue was discovered in urllib3 before 1.26.5. When provided with a URL containing many @ characters in the authority component, the authority regular expression exhibits catastrophic backtracking, causing a denial of service if a URL were passed as a parameter or redirected to via an HTTP redirect.
Affected products
No data.
Configuration 2
- 33
- 34
Configuration 3
- 12.4.0.0
- 17.1
- 17.2
- 17.3
- 8.8
No data.
Red Hat Automation Hub 4.2 for RHEL 7
automation-hub-0:4.2.6-1.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python-galaxy-ng-0:4.2.6-1.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python-urllib3-0:1.26.5-1.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python3-chardet-0:3.0.4-3.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python3-click-0:7.1.2-3.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python3-gnupg-0:0.4.6-3.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python3-jinja2-0:2.11.2-3.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python3-markupsafe-0:1.1.1-4.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 7
python3-semantic-version-0:2.8.5-3.el7pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
automation-hub-0:4.2.6-1.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python-galaxy-ng-0:4.2.6-1.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python-urllib3-0:1.26.5-1.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python3-click-0:7.1.2-3.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python3-gnupg-0:0.4.6-3.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python3-jinja2-0:2.11.2-3.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python3-markupsafe-0:1.1.1-4.el8pc
Fixed · RHSA-2021:3473
Red Hat Automation Hub 4.2 for RHEL 8
python3-semantic-version-0:2.8.5-3.el8pc
Fixed · RHSA-2021:3473
Red Hat Enterprise Linux 8
python38-devel:3.8-8050020210811101222.e3d35cca
Fixed · RHSA-2021:4162
Red Hat Enterprise Linux 8
python38:3.8-8050020210811101222.e3d35cca
Fixed · RHSA-2021:4162
Red Hat Enterprise Linux 8
python39-devel:3.9-8050020210811100211.d428a79b
Fixed · RHSA-2021:4160
Red Hat Enterprise Linux 8
python39:3.9-8050020210811100211.d428a79b
Fixed · RHSA-2021:4160
Red Hat Satellite 6.10 for RHEL 7
python-urllib3-0:1.26.5-1.el7pc
Fixed · RHSA-2021:4702
Red Hat Satellite 6.10 for RHEL 7
python-urllib3-0:1.26.5-1.el7pc
Fixed · RHSA-2021:4702
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-babel-0:2.7.0-12.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-python-0:3.8.11-2.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-python-cryptography-0:2.8-5.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-python-jinja2-0:2.10.3-6.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-python-lxml-0:4.4.1-7.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-python-pip-0:19.3.1-2.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-python38-python-urllib3-0:1.25.7-7.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-babel-0:2.7.0-12.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-python-0:3.8.11-2.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-python-cryptography-0:2.8-5.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-python-jinja2-0:2.10.3-6.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-python-lxml-0:4.4.1-7.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-python-pip-0:19.3.1-2.el7
Fixed · RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-python38-python-urllib3-0:1.25.7-7.el7
Fixed · RHSA-2021:3254
Red Hat Enterprise Linux 6
python-urllib3
Not affected
Red Hat Enterprise Linux 7
python-urllib3
Not affected
Red Hat Enterprise Linux 8
python-pip
Not affected
Red Hat Enterprise Linux 8
python-urllib3
Not affected
Red Hat Enterprise Linux 8
python27:2.7/python-urllib3
Not affected
Red Hat Enterprise Linux 8
python27:2.7/python2-pip
Not affected
Red Hat Enterprise Linux 9
python-urllib3
Not affected
Red Hat OpenShift Container Platform 3.11
python-urllib3
Not affected
Red Hat OpenShift Container Platform 4
python-urllib3
Out of support scope
Red Hat OpenStack Platform 10 (Newton)
python-urllib3
Out of support scope
Red Hat OpenStack Platform 13 (Queens)
python-urllib3
Not affected
Red Hat Quay 3
quay/quay-rhel8
Affected
Red Hat Storage 3
python-urllib3
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Automation Hub 4.2 for RHEL 7 | automation-hub-0:4.2.6-1.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-galaxy-ng-0:4.2.6-1.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-urllib3-0:1.26.5-1.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-chardet-0:3.0.4-3.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-click-0:7.1.2-3.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-gnupg-0:0.4.6-3.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-jinja2-0:2.11.2-3.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-markupsafe-0:1.1.1-4.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-semantic-version-0:2.8.5-3.el7pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | automation-hub-0:4.2.6-1.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-galaxy-ng-0:4.2.6-1.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-urllib3-0:1.26.5-1.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-click-0:7.1.2-3.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-gnupg-0:0.4.6-3.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-jinja2-0:2.11.2-3.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-markupsafe-0:1.1.1-4.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-semantic-version-0:2.8.5-3.el8pc | Fixed | RHSA-2021:3473 |
| Red Hat Enterprise Linux 8 | python38-devel:3.8-8050020210811101222.e3d35cca | Fixed | RHSA-2021:4162 |
| Red Hat Enterprise Linux 8 | python38:3.8-8050020210811101222.e3d35cca | Fixed | RHSA-2021:4162 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8050020210811100211.d428a79b | Fixed | RHSA-2021:4160 |
| Red Hat Enterprise Linux 8 | python39:3.9-8050020210811100211.d428a79b | Fixed | RHSA-2021:4160 |
| Red Hat Satellite 6.10 for RHEL 7 | python-urllib3-0:1.26.5-1.el7pc | Fixed | RHSA-2021:4702 |
| Red Hat Satellite 6.10 for RHEL 7 | python-urllib3-0:1.26.5-1.el7pc | Fixed | RHSA-2021:4702 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-babel-0:2.7.0-12.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-0:3.8.11-2.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-cryptography-0:2.8-5.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-jinja2-0:2.10.3-6.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-lxml-0:4.4.1-7.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-pip-0:19.3.1-2.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-urllib3-0:1.25.7-7.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-babel-0:2.7.0-12.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-python-0:3.8.11-2.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-python-cryptography-0:2.8-5.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-python-jinja2-0:2.10.3-6.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-python-lxml-0:4.4.1-7.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-python-pip-0:19.3.1-2.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-python38-python-urllib3-0:1.25.7-7.el7 | Fixed | RHSA-2021:3254 |
| Red Hat Enterprise Linux 6 | python-urllib3 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python-urllib3 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python-pip | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python-urllib3 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python27:2.7/python-urllib3 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python27:2.7/python2-pip | Not affected | n/a |
| Red Hat Enterprise Linux 9 | python-urllib3 | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.11 | python-urllib3 | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | python-urllib3 | Out of support scope | n/a |
| Red Hat OpenStack Platform 10 (Newton) | python-urllib3 | Out of support scope | n/a |
| Red Hat OpenStack Platform 13 (Queens) | python-urllib3 | Not affected | n/a |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected | n/a |
| Red Hat Storage 3 | python-urllib3 | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
* Red Hat OpenShift Container Platform (OCP) 4 delivers the python-urllib3 package which includes a vulnerable version of urllib3 module, however from OCP 4.6 the python-urllib3 package is no longer shipped. OCP 4.5 is out of support scope for Moderate and Low impact vulnerabilities, hence is marked Out Of Support Scope. The python-urllib3 package used in OCP 3.11 is not affected by this flaw.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (15)
- https://access.redhat.com/security/cve/CVE-2021-33503 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1968074 Issue Tracking
- https://github.com/advisories/GHSA-q2q7-5pp4-w6pg Advisoryx_refsource_CONFIRMThird Party Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-108.yaml
- https://github.com/urllib3/urllib3/commit/2d4a3fee6de2fa45eb82169361918f759269b4ec x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/urllib3/urllib3/commit/5b047b645f5f93900d5e2fc31230848c25eb1f5f#diff-52026d639119bf1e0364836b4e8a18bd9ed3c95c6ba39b26534a5057a65e35bbR65
- https://github.com/urllib3/urllib3/security/advisories/GHSA-q2q7-5pp4-w6pg
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6SCV7ZNAHS3E6PBFLJGENCDRDRWRZZ6W/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMUGWEAUYGGHTPPXT6YBD53WYXQGVV73/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6SCV7ZNAHS3E6PBFLJGENCDRDRWRZZ6W
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FMUGWEAUYGGHTPPXT6YBD53WYXQGVV73
- https://nvd.nist.gov/vuln/detail/CVE-2021-33503
- https://security.gentoo.org/glsa/202107-36 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2021-33503
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISCPatchThird Party Advisory
Change history (0)
No recorded changes yet.