Improper Certificate Validation in urllib3
Published 19 Apr 2019 · Updated 18 Nov 2024
Is your project on an affected urllib3?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.24.2
- Fixed in
- 1.24.2
pip install 'urllib3>=1.24.2'Details
The urllib3 library before 1.24.2 for Python mishandles certain cases where the desired set of CA certificates is different from the OS store of CA certificates, which results in SSL connections succeeding in situations where a verification failure is the correct outcome. This is related to use of the ssl_context, ca_certs, or ca_certs_dir argument.
Is GHSA-mh33-7rrq-662w in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected urllib3, and gives you the command that fixes it.
More advisories for urllib3
- MediumCVE-2026-97688urllib3: Chunked Deflate streaming can enter an infinite loop · 30 Sept 2026
- HighCVE-2026-97689urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory · 30 Sept 2026
- HighCVE-2026-97687urllib3: HTTPS proxy TLS configuration may be ignored or overridden · 30 Sept 2026
- HighCVE-2026-44432urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API · 11 May 2026
- HighCVE-2026-44431urllib3: Sensitive headers forwarded across origins in proxied low-level redirects · 11 May 2026
- HighCVE-2026-21441Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API) · 7 Jan 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-11324
- Linkgithub.com/urllib3/urllib3/commit/1efadf43dc63317cd9eaa3e0fdb9e05ab07254b1
- Linkaccess.redhat.com/errata/RHSA-2019:3335
- Linkaccess.redhat.com/errata/RHSA-2019:3590
- Advisorygithub.com/advisories/GHSA-mh33-7rrq-662w
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2019-133.yaml
- Packagegithub.com/urllib3/urllib3
- Linkgithub.com/urllib3/urllib3/compare/a6ec68a...1efadf4
- Linklists.debian.org/debian-lts-announce/2021/06/msg00015.html
- Linklists.debian.org/debian-lts-announce/2023/10/msg00012.html
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NKGPJLVLVYCL4L4B4G5TIOTVK4BKPG72
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOSA2NT4DUQDBEIWE6O7KKD24XND7TE2
- Linkpypi.org/project/urllib3/1.24.2
- Linkusn.ubuntu.com/3990-1
- Linklists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html
- Linklists.opensuse.org/opensuse-security-announce/2019-09/msg00041.html
- Linkwww.openwall.com/lists/oss-security/2019/04/19/1
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.