CVE-2016-2402

MEDIUM

Squareup Okhttp < 2.7.3 - Improper Certificate Validation

Title source: rule
STIX 2.1

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.

Exploits (2)

nomisec WORKING POC 13 stars
by ikoz · poc
https://github.com/ikoz/cert-pinning-flaw-poc
nomisec WORKING POC 10 stars
by ikoz · poc
https://github.com/ikoz/certPinningVulnerableOkHttp

References (5)

Core 5
Core References
Technical Description, Third Party Advisory x_refsource_misc
https://koz.io/pinning-cve-2016-2402/
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/02/10/8
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/02/18/7

Scores

CVSS v3 5.9
EPSS 0.0268
EPSS Percentile 86.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-295
Status published
Products (6)
com.squareup.okhttp3/okhttp 0 - 2.7.4Maven
squareup/okhttp < 2.7.3
squareup/okhttp3 3.0.0 (2 CPE variants)
squareup/okhttp3 3.0.1
squareup/okhttp3 3.1.0
squareup/okhttp3 3.1.1
Published Jan 30, 2017
Tracked Since Feb 18, 2026