Risk | Medium |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2021-28363 |
CWE-ID | CWE-297 |
Exploitation vector | Network |
Public exploit | N/A |
Vulnerable software Subscribe |
urllib3 Other software / Other software solutions |
Vendor | shazow (Andrey Petrov) |
Security Bulletin
This security bulletin contains one medium risk vulnerability.
EUVDB-ID: #VU51604
Risk: Medium
CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID: CVE-2021-28363
CWE-ID:
CWE-297 - Improper Validation of Certificate with Host Mismatch
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to urllib3 library for Python omits SSL certificate validation in some cases involving HTTPS to HTTPS proxies. The initial connection to the HTTPS proxy (if an SSLContext isn't given
via proxy_config) doesn't verify the hostname of the certificate. This
means certificates for different servers that still validate properly
with the default urllib3 SSLContext will be silently accepted. A remote attacker can supply a valid SSL certificate for a different hostname and perform Man-in-the-Middle (MitM) attack.
Install updates from vendor's website.
Vulnerable software versionsurllib3: 1.26.0 - 1.26.3
External linkshttp://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0
http://github.com/urllib3/urllib3/commits/main
http://github.com/urllib3/urllib3/security/advisories/GHSA-5phf-pp7p-vc2r
http://pypi.org/project/urllib3/1.26.4/
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.