CVE-2019-11324 Improper Certificate Validation in urllib3

High 7.5 Published Updated

Attackers can bypass SSL certificate verification in urllib3 when custom CA certificates are specified, allowing man-in-the-middle attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-11324?

CVE-2019-11324 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 18 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-295

Which versions are affected by CVE-2019-11324?

3 open source packages ship an affected version, including urllib3. It affects 2 products.

PackageAffectedFixed in
urllib3 PyPIAll versions1.24.2
urllib3 PyPIAll versions1.24.2
urllib3 PyPIAll versions1.24.2

Products include Canonical Ubuntu Linux, Python Urllib3.

How do I fix CVE-2019-11324?

Upgrade urllib3 to 1.24.2 or later.

Is CVE-2019-11324 being exploited?

There is no known exploitation of CVE-2019-11324 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-11324, GHSA-mh33-7rrq-662w, MINI-gh64-fc88-2547, PYSEC-2019-133, ROOT-APP-PYPI-CVE-2019-11324, UBUNTU-CVE-2019-11324 and 1 more.

Is CVE-2019-11324 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free