CVE-2019-11324 Improper Certificate Validation in urllib3
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.
| Package | Affected | Fixed in |
|---|---|---|
urllib3 PyPI | All versions | 1.24.2 |
urllib3 PyPI | All versions | 1.24.2 |
urllib3 PyPI | All versions | 1.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.
Other vulnerabilities in Canonical Ubuntu Linux
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.