GHSA-2x83-r56g-cv47

Suggest an improvement
Source
https://github.com/advisories/GHSA-2x83-r56g-cv47
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-2x83-r56g-cv47/GHSA-2x83-r56g-cv47.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2x83-r56g-cv47
Aliases
Published
2018-10-17T00:05:15Z
Modified
2024-03-05T19:01:43.163298Z
Summary
Improper certificate validation in org.apache.httpcomponents:httpclient
Details

http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 does not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5783.

References

Affected packages

Maven / org.apache.httpcomponents:httpclient

Package

Name
org.apache.httpcomponents:httpclient
View open source insights on deps.dev
Purl
pkg:maven/org.apache.httpcomponents/httpclient

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.3

Affected versions

4.*

4.0-alpha1
4.0-alpha2
4.0-alpha3
4.0-alpha4
4.0-beta1
4.0-beta2
4.0
4.0.1
4.0.2
4.0.3
4.1-alpha1
4.1-alpha2
4.1-beta1
4.1
4.1.1
4.1.2
4.1.3
4.2-alpha1
4.2-beta1
4.2
4.2.1
4.2.2