ADVISORIES

PyPA Advisory Database

PYSEC-2019-133

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.

Affected packages

EcosystemPackageAffected versions
PyPIurllib3
All versions before 1.24.2 (fixed in 1.24.2)

References