CVE Vulnerabilities

CVE-2016-2402

Improper Certificate Validation

Published: Jan 30, 2017 | Modified: Nov 07, 2023
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Okhttp Squareup * 2.7.3 (including)
Okhttp3 Squareup 3.0.0 (including) 3.0.0 (including)
Okhttp3 Squareup 3.0.0-rc1 (including) 3.0.0-rc1 (including)
Okhttp3 Squareup 3.0.1 (including) 3.0.1 (including)
Okhttp3 Squareup 3.1.0 (including) 3.1.0 (including)
Okhttp3 Squareup 3.1.1 (including) 3.1.1 (including)

Potential Mitigations

References