CVEvulnerability

CVE-2016-2402

5.9 MEDIUM Published 2017-01-30 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-01-30
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
CWE-295

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.

Affected configurations

• squareup okhttp (<= 2.7.3) • squareup okhttp3 3.0.0 • squareup okhttp3 3.0.1 • squareup okhttp3 3.1.0 • squareup okhttp3 3.1.1

Related

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

Referenced by CWE · observed example (1)

  • CWE-296 Improper Following of a Certificate's Chain of Trust weakness

References