Vulnerability in Squareup Okhttp
CVE-2016-2402
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.
Vulnerability class: Improper Certificate Validation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.019 (80.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 80.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.019 · change: -0.003
Affected products
- Squareup Okhttp
- Squareup Okhttp3 — versions 3.0.0, 3.0.1, 3.1.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- koz.io/pinning-cve-2016-2402/ (Technical Description, Third Party Advisory)
- publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/ (Vendor Advisory)
- www.openwall.com/lists/oss-security/2016/02/10/8 (mailing-list, Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2016/02/18/7 (mailing-list, Mailing List, Third Party Advisory)
- lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce… (mailing-list)
Frequently asked questions
- What is CVE-2016-2402?
- CVE-2016-2402 is a medium-severity vulnerability in Squareup Okhttp, classified under Improper Certificate Validation. CVSS score: 5.9/10. Published 2017-01-30.
- How severe is CVE-2016-2402?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2016-2402 known to be exploited?
- 17 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.