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.
lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html
lists.opensuse.org/opensuse-security-announce/2019-09/msg00041.html
www.openwall.com/lists/oss-security/2019/04/19/1
access.redhat.com/errata/RHSA-2019:3335
access.redhat.com/errata/RHSA-2019:3590
github.com/urllib3/urllib3/compare/a6ec68a...1efadf4
lists.debian.org/debian-lts-announce/2021/06/msg00015.html
lists.debian.org/debian-lts-announce/2023/10/msg00012.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NKGPJLVLVYCL4L4B4G5TIOTVK4BKPG72/
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOSA2NT4DUQDBEIWE6O7KKD24XND7TE2/
usn.ubuntu.com/3990-1/