MODERATE

CVE-2014-3577

Improper Verification of Cryptographic Signature in org.apache.httpcomponents:httpclient

Description

org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before 4.0.2 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 "CN=" string in a field in the distinguished name (DN) of a certificate, as demonstrated by the "foo,CN=www.apache.org" string in the O field.

Affected Maven artifacts (1)

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

Blast radius

1affected artifacts
57affected versions
34,469dependent artifacts (est.)
1,267,336dependent versions

56% of the dependent artifacts (19,315) still pull an affected version in their latest release.

DepthDependent versions
Direct
59,133
2 hops
306,917
3 hops
410,240
4 hops
297,342
5 hops
132,234
6 hops
61,470

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.

References