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 over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- square.github.io/okhttp/3.x/okhttp/ (Third Party Advisory)
- github.com/square/okhttp/releases (Product)
- github.com/square/okhttp/commits/master (Patch, Third Party Advisory)
- cxsecurity.com/issue/WLB-2018120252 (Exploit, Third Party Advisory)
- github.com/square/okhttp/issues/4967
- lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b… (mailing-list)
- lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864… (mailing-list)
- lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d79… (mailing-list)
- lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d… (mailing-list)
- lists.apache.org/thread.html/r71100f23778d72fbd8be8baa6baffc159b9c4f3fae3db4826… (mailing-list)
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.