Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability CVE-2021-28363 #1527

Closed
kaos opened this issue Nov 30, 2021 · 1 comment
Closed

Vulnerability CVE-2021-28363 #1527

kaos opened this issue Nov 30, 2021 · 1 comment
Assignees

Comments

@kaos
Copy link
Collaborator

kaos commented Nov 30, 2021

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-28363

Report excerpt:

Description from CVE
The urllib3 library 1.26.x before 1.26.4 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.

Explanation
The urllib3 package is vulnerable to Improper Certificate Validation. The _connect_tls_proxy function in the connection.py file does not validate TLS certificate hostnames. A Man-in-the-Middle (MitM) attacker can leverage this vulnerability to decrypt and modify data in transit by providing a malicious certificate that exploits this issue.

@jsirois jsirois self-assigned this Sep 20, 2022
@jsirois
Copy link
Member

jsirois commented Sep 20, 2022

With the release of Pex 2.1.104 there is now the option to use --pip-version 22.2.2 which will have the vendored Pip used 1 time to download the 22.2.2 version of Pip which will be used from then forward whenever --pip=version 22.2.2 is specified. This is much akin to pip install -U pip.

@jsirois jsirois closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants