{"api_version":"1","generated_at":"2026-06-15T03:55:29+00:00","cve":"CVE-2016-2402","urls":{"html":"https://cve.report/CVE-2016-2402","api":"https://cve.report/api/cve/CVE-2016-2402.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-2402","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-2402"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2017-01-30 22:59:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-295","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","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","data":{"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"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"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"}}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/02/10/8","name":"http://www.openwall.com/lists/oss-security/2016/02/10/8","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE request - OkHttp Certificate Pining Bypass","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/","name":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"OkHttp Certificate Pinning Vulnerability!","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","name":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Pony Mail!","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/02/18/7","name":"http://www.openwall.com/lists/oss-security/2016/02/18/7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: CVE request - OkHttp Certificate Pining Bypass","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://koz.io/pinning-cve-2016-2402/","name":"https://koz.io/pinning-cve-2016-2402/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Technical Description","Third Party Advisory"],"title":"Testing for CVE-2016-2402 and similar pinning issues ·  John Kozyrakis ~ blog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E","name":"MLIST:[pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list","refsource":"MITRE","tags":[],"title":"Pony Mail!","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-2402","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2402","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"2402","vulnerable":"1","versionEndIncluding":"2.7.3","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squareup","cpe5":"okhttp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"2402","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squareup","cpe5":"okhttp3","cpe6":"3.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"2402","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squareup","cpe5":"okhttp3","cpe6":"3.0.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"2402","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squareup","cpe5":"okhttp3","cpe6":"3.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"2402","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squareup","cpe5":"okhttp3","cpe6":"3.1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"2402","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squareup","cpe5":"okhttp3","cpe6":"3.1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T23:24:49.347Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://koz.io/pinning-cve-2016-2402/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/"},{"name":"[oss-security] 20160210 CVE request - OkHttp Certificate Pining Bypass","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/02/10/8"},{"name":"[oss-security] 20160217 Re: CVE request - OkHttp Certificate Pining Bypass","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/02/18/7"},{"name":"[pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-02-10T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2020-12-16T05:06:12.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://koz.io/pinning-cve-2016-2402/"},{"tags":["x_refsource_CONFIRM"],"url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/"},{"name":"[oss-security] 20160210 CVE request - OkHttp Certificate Pining Bypass","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/02/10/8"},{"name":"[oss-security] 20160217 Re: CVE request - OkHttp Certificate Pining Bypass","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/02/18/7"},{"name":"[pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-2402","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://koz.io/pinning-cve-2016-2402/","refsource":"MISC","url":"https://koz.io/pinning-cve-2016-2402/"},{"name":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/","refsource":"CONFIRM","url":"https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/"},{"name":"[oss-security] 20160210 CVE request - OkHttp Certificate Pining Bypass","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/02/10/8"},{"name":"[oss-security] 20160217 Re: CVE request - OkHttp Certificate Pining Bypass","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/02/18/7"},{"name":"[pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list","refsource":"MLIST","url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2016-2402","datePublished":"2017-01-30T22:00:00.000Z","dateReserved":"2016-02-17T00:00:00.000Z","dateUpdated":"2024-08-05T23:24:49.347Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-01-30 22:59:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-295","n/a"],"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}]},"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"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"2402","Ordinal":"1","Title":"CVE-2016-2402","CVE":"CVE-2016-2402","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"2402","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2016-2402"},{"CveYear":"2016","CveId":"2402","Ordinal":"2","NoteData":"2017-01-30","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"2402","Ordinal":"3","NoteData":"2020-12-16","Type":"Other","Title":"Modified"}]}}}