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-12-02T05:48:49.049751Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T20:53:18Z"
}
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