NetSight
medium5.9

CVE-2016-2402

Improper Certificate Validation in OkHttp

Impact

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 packages

EcosystemPackageAffectedFixed in
mavencom.squareup.okhttp3:okhttp<= 2.7.32.7.4

Affected products

VendorProductAffected versions
SquareupOkhttp
through 2.7.3
SquareupOkhttp3
Versions 3.0.0, 3.0.1, 3.1.0, 3.1.1

Weakness classification

References