Live threats

All CVEs / Squareup

CVE-2018-20200Squareup Okhttp

Medium 5.9 No auth needed

Priority
51
CVSS 3.0
5.9
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Apr 18, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

CertificatePinner.java in OkHttp 3.x through 3.12.0 allows man-in-the-middle attackers to bypass certificate pinning by changing SSLContext and the boolean values while hooking the application. NOTE: This id is disputed because some parties don't consider this is a vulnerability. Their rationale can be found in https://github.com/square/okhttp/issues/4967

Original NVD text.

What to do

  1. Apply the vendor's security update for Okhttp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
squareupokhttp≥ 3.0.0 ≤ 3.12.0

Official sources

References

Links published by the sources. Open them with care.