Improper certificate validation in urllib3 library for Python



| Updated: 2021-06-20
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-11324
CWE-ID CWE-295
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
urllib3
Web applications / Modules and components for CMS

Vendor urlib3

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Certificate Validation

EUVDB-ID: #VU21780

Risk: Medium

CVSSv4.0: 7.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/E:P/U:Green]

CVE-ID: CVE-2019-11324

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to the urllib3 library for Python mishandles certain cases where the desired set of CA certificates is different from the OS store of CA certificates. A remote attacker can cause the certificates to be considered trusted contrary to expectations. This is related to use of the "ssl_context", "ca_certs" or "ca_certs_dir" argument.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

urllib3: 0.3 - 1.24.1

CPE2.3 External links

https://github.com/urllib3/urllib3/compare/a6ec68a...1efadf4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###