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.
https://koz.io/pinning-cve-2016-2402/
http://www.openwall.com/lists/oss-security/2016/02/18/7
http://www.openwall.com/lists/oss-security/2016/02/10/8
https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/
https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
Source: Mitre, NVD
Published: 2017-01-30
Updated: 2025-04-20
Base Score: 4.3
Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N
Severity: Medium
Base Score: 5.9
Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS: 0.05262