CVE-2016-2402
Improper Certificate Validation in OkHttp
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-295
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.squareup.okhttp3:okhttp | <2.7.4>=3.0.0, <3.1.2 | 2.7.43.1.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/02/10/8
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/02/18/7
- github.com https://github.com/square/okhttp
- koz.io https://koz.io/pinning-cve-2016-2402
- koz.io https://koz.io/pinning-cve-2016-2402/
- lists.apache.org https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-2402
- publicobject.com https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability
- publicobject.com https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.