HIGH

CVE-2012-6153

Improper certificate validation in org.apache.httpcomponents:httpclient

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.httpcomponents » httpclient
< 4.2.3
4.2.3

Blast radius

1affected artifacts
42affected versions
19,081dependent artifacts (est.)
568,437dependent versions

54% of the dependent artifacts (10,472) still pull an affected version in their latest release.

DepthDependent versions
Direct
26,102
2 hops
105,982
3 hops
190,353
4 hops
180,374
5 hops
51,864
6 hops
13,762

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.