Medium severity5.9NVD Advisory· Published Jan 30, 2017· Updated May 13, 2026
CVE-2016-2402
CVE-2016-2402
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.squareup.okhttp3:okhttpMaven | < 2.7.4 | 2.7.4 |
com.squareup.okhttp3:okhttpMaven | >= 3.0.0, < 3.1.2 | 3.1.2 |
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
10- www.openwall.com/lists/oss-security/2016/02/10/8nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2016/02/18/7nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-4hc2-jh7r-wrc3ghsaADVISORY
- koz.io/pinning-cve-2016-2402/nvdTechnical DescriptionThird Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-2402ghsaADVISORY
- publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/nvdVendor Advisory
- koz.io/pinning-cve-2016-2402ghsaWEB
- lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3EghsaWEB
- publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerabilityghsaWEB
- lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3Envd
News mentions
0No linked articles in our index yet.