{"id":"CVE-2016-2402","sourceIdentifier":"cve@mitre.org","published":"2017-01-30T22:59:00.390","lastModified":"2026-06-17T00:43:59.843","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"OkHttp antes de 2.7.4 y 3.x antes de 3.1.2 permite que los atacantes man-in-the-middle eludan la fijación de certificados enviando una cadena de certificados con un CA no fijado confiable y el certificado fijado."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-295"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*","versionEndIncluding":"2.7.3","matchCriteriaId":"770E740C-33B8-4A51-B55F-B240F33960BD"},{"vulnerable":true,"criteria":"cpe:2.3:a:squareup:okhttp3:3.0.0:*:*:*:*:*:*:*","matchCriteriaId":"A4AD815F-E998-4C8D-B64C-B5C6E0750D3D"},{"vulnerable":true,"criteria":"cpe:2.3:a:squareup:okhttp3:3.0.0:rc1:*:*:*:*:*:*","matchCriteriaId":"D6367344-FB92-46BE-B460-423573309C88"},{"vulnerable":true,"criteria":"cpe:2.3:a:squareup:okhttp3:3.0.1:*:*:*:*:*:*:*","matchCriteriaId":"37FD7BC3-0E9A-4BFE-9058-8C55A495EF2C"},{"vulnerable":true,"criteria":"cpe:2.3:a:squareup:okhttp3:3.1.0:*:*:*:*:*:*:*","matchCriteriaId":"FA32D418-4F2A-4CE8-9AE0-5168B7DDF7A8"},{"vulnerable":true,"criteria":"cpe:2.3:a:squareup:okhttp3:3.1.1:*:*:*:*:*:*:*","matchCriteriaId":"AA482A17-1951-4725-90C5-CCD39CD4A220"}]}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/02/10/8","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/18/7","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://koz.io/pinning-cve-2016-2402/","source":"cve@mitre.org","tags":["Technical Description","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","source":"cve@mitre.org"},{"url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/10/8","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/18/7","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"https://koz.io/pinning-cve-2016-2402/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Technical Description","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}