GitHub Advisoryadvisory · Maven

GHSA-4hc2-jh7r-wrc3 Improper Certificate Validation in OkHttp

MEDIUM Published 2022-05-13 Modified 2022-11-15 Official page ↗
Aliases
CVE-2016-2402
Ecosystem
Maven
Packages
com.squareup.okhttp3:okhttp
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-295
Reviewed
2022-07-06

Affected packages

• Maven com.squareup.okhttp3:okhttp: < 2.7.4 → fixed in 2.7.4 • Maven com.squareup.okhttp3:okhttp: >= 3.0.0, < 3.1.2 → fixed in 3.1.2

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References