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.
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.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| squareup | okhttp | <= 2.7.3 | – |
| squareup | okhttp3 | 3.0.0 | – |
| squareup | okhttp3 | 3.0.0 rc1 | – |
| squareup | okhttp3 | 3.0.1 | – |
| squareup | okhttp3 | 3.1.0 | – |
| squareup | okhttp3 | 3.1.1 | – |
CWE-295 Improper Certificate Validation
The product does not validate, or incorrectly validates, a certificate.
| Scope | Impact |
|---|---|
| Integrity, Authentication | Bypass Protection Mechanism, Gain Privileges or Assume Identity When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting spoofed data that appears to originate from a trusted host. |
All 1,808 CWE-295 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org