CVE-2018-20200 json
CertificatePinner.java in OkHttp 3.x through 3.12.0 allows man-in-the-middle attackers to bypass certificate pinning by changing SSLContext…
published 7y ago modified 4mo ago also EUVD-2018-12767
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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
Patch / fix
Is CVE-2018-20200 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20200 updated cvss 5.9
okhttp: certificate pinning bypass
-
Red Hat Decision Manager 7 okhttp Red Hat Fuse 7 okhttp Red Hat OpenShift Application Runtimes okhttp Red Hat OpenShift Container Platform 3.9 elasticsearch-cloud-kubernetes, openshift-elasticsearch-plugin Red Hat OpenShift Container Platform 3.10 elasticsearch-cloud-kubernetes, openshift-elasticsearch-plugin Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5not affected: vulnerable code not present
+3 more productsfewer
Red Hat OpenShift Container Platform 4 openshift4/ose-logging-elasticsearch5 Red Hat Process Automation 7 okhttp Red Hat Single Sign-On 7 okhttp
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.48% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- cxsecurity.com https://cxsecurity.com/issue/WLB-2018120252 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/square/okhttp/commits/master
patch, third-party-advisory
-
cxsecurity.com
/issue/WLB-2018120252
exploit, third-party-advisory
-
square.github.io
/okhttp/3.x/okhttp/
third-party-advisory
-
github.com
/square/okhttp/releases
product
- github.com /square/okhttp/issues/4967
-
lists.apache.org
/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a%40%3Cuser.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r71100f23778d72fbd8be8baa6baffc159b9c4f3fae3db4826bdc8ab8%40%3Cissues.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rc436d58531754ac8fe20340044566518ea4dce66aeff9193356a225d%40%3Cissues.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/recce57e195fbdd856dcf1933c136a8a66d7b02e05e3580f44d75a640%40%3Cissues.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rfd1eed12ba2a5dff37229edd60fc84a25517815d848994146a15af91%40%3Cissues.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r78bfce980843be61a55615a7680bbf7ac751a9b3515231eab2d32068%40%3Cissues.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
mailing-list
Sources
- CVE List CVE-2018-20200
- NVD CVE-2018-20200
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.