Medium severity5.9NVD Advisory· Published Jan 30, 2017· Updated Jun 17, 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
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 |
Affected products
7cpe:2.3:a:squareup:okhttp3:3.0.0:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:a:squareup:okhttp3:3.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:squareup:okhttp3:3.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:squareup:okhttp3:3.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:squareup:okhttp3:3.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:squareup:okhttp3:3.1.1:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
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.