CVE-2016-2402
Severity CVSS v4.0:
Pending analysis
Type:
CWE-295
Improper Certificate Validation
Publication date:
30/01/2017
Last modified:
20/04/2025
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.
Impact
Base Score 3.x
5.90
Severity 3.x
MEDIUM
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:* | 2.7.3 (including) | |
cpe:2.3:a:squareup:okhttp3:3.0.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:squareup:okhttp3:3.0.0:rc1:*:*:*:*:*:* | ||
cpe:2.3:a:squareup:okhttp3:3.0.1:*:*:*:*:*:*:* | ||
cpe:2.3:a:squareup:okhttp3:3.1.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:squareup:okhttp3:3.1.1:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://www.openwall.com/lists/oss-security/2016/02/10/8
- http://www.openwall.com/lists/oss-security/2016/02/18/7
- https://koz.io/pinning-cve-2016-2402/
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/
- http://www.openwall.com/lists/oss-security/2016/02/10/8
- http://www.openwall.com/lists/oss-security/2016/02/18/7
- https://koz.io/pinning-cve-2016-2402/
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/