{"id":"CVE-2016-2402","aliases":["GHSA-4hc2-jh7r-wrc3"],"url":"https://o3.security/vulnerability/CVE-2016-2402","summary":"Improper Certificate Validation in OkHttp","details":"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.","published":"2017-01-30T22:59:00.390Z","modified":"2026-07-19T03:46:04.732124493Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":4,"affectedPackages":[{"ecosystem":"Maven","name":"com.squareup.okhttp3:okhttp","fixedVersion":"2.7.4"},{"ecosystem":"Maven","name":"com.squareup.okhttp3:okhttp","fixedVersion":"3.1.2"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/02/10/8"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/02/18/7"},{"type":"ADVISORY","url":"https://koz.io/pinning-cve-2016-2402/"},{"type":"ADVISORY","url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-19T03:46:04.732124493Z"}}