{"id":"CVE-2016-2402","published":"2017-01-30T22:00:00Z","modified":"2024-08-05T23:24:49Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0194,"percentile":0.80648,"provenance":"source"},"cwes":[],"references":[{"url":"https://koz.io/pinning-cve-2016-2402/","tags":["x_refsource_MISC"]},{"url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/10/8","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/18/7","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":16.13},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2016-03-20","earliestUrl":"https://github.com/ikoz/cert-pinning-flaw-poc","repos":[{"name":"ikoz/cert-pinning-flaw-poc","url":"https://github.com/ikoz/cert-pinning-flaw-poc","stars":13,"created":"2016-03-20"},{"name":"ikoz/certPinningVulnerableOkHttp","url":"https://github.com/ikoz/certPinningVulnerableOkHttp","stars":10,"created":"2016-03-30"}]},"first":{"date":"2016-03-20","source":"PoC-in-GitHub","url":"https://github.com/ikoz/cert-pinning-flaw-poc"},"provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.squareup.okhttp3:okhttp","vulnerableRanges":["<2.7.4",">=3.0.0, <3.1.2"],"patched":["2.7.4","3.1.2"],"from":["GHSA-4hc2-jh7r-wrc3"],"provenance":"source"}],"summary":{"text":"OkHttp versions before 2.7.4 and 3.x before 3.1.2 contain a flaw in certificate pinning. A man-in-the-middle attacker can bypass certificate pinning by sending a certificate chain that includes a certificate from a non-pinned trusted CA alongside the pinned certificate.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:21Z"},"euvd":{"id":"EUVD-2022-2383","exploited":false,"provenance":"source"}}