urllib3/urllib3 · Security
Improper Certificate Validation in urllib3
- GHSA ID
- GHSA-mh33-7rrq-662w
- CVE ID
- CVE-2019-11324
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-295 · Improper Certificate Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11324 ↗
- https://github.com/urllib3/urllib3/compare/a6ec68a...1efadf4 ↗
- https://access.redhat.com/errata/RHSA-2019:3335 ↗
- https://access.redhat.com/errata/RHSA-2019:3590 ↗
- https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00041.html ↗
- http://www.openwall.com/lists/oss-security/2019/04/19/1 ↗
- https://github.com/urllib3/urllib3/commit/1efadf43dc63317cd9eaa3e0fdb9e05ab07254b1 ↗
- https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html ↗
- https://github.com/advisories/GHSA-mh33-7rrq-662w ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2019-133.yaml ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NKGPJLVLVYCL4L4B4G5TIOTVK4BKPG72 ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XOSA2NT4DUQDBEIWE6O7KKD24XND7TE2 ↗
- https://pypi.org/project/urllib3/1.24.2 ↗
- https://usn.ubuntu.com/3990-1 ↗