MODERATE 5.9

CVE-2016-2402

Improper Certificate Validation in OkHttp

Description

OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.squareup.okhttp3 » okhttp
< 2.7.4>= 3.0.0, < 3.1.2
2.7.4, 3.1.2

Blast radius

1affected artifacts
35affected versions
422dependent artifacts (est.)
3,319dependent versions

47% of the dependent artifacts (201) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,039
2 hops
1,645
3 hops
409
4 hops
223
5 hops
3

Most used dependents

Computed from the dependency graph of build 20261129.2353 (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.