Vulnerability in Squareup Okhttp

CVE-2018-20200

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

Vulnerability class: Improper Certificate Validation

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.025 (84.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 84.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-20200: held from 0.025 to 0.025.

EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-20200?
CVE-2018-20200 is a medium-severity vulnerability in Squareup Okhttp, classified under Improper Certificate Validation. CVSS score: 5.9/10. Published 2019-04-18.
How severe is CVE-2018-20200?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2018-20200 known to be exploited?
14 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.