Skip to content
Fencer Vulns
medium 5.9

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 2019-04-18 7 y ago modified 2026-06-17 4 mo 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

Vendor 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-elasticsearch5
    +3 more products
    Red Hat OpenShift Container Platform 4 openshift4/ose-logging-elasticsearch5 Red Hat Process Automation 7 okhttp Red Hat Single Sign-On 7 okhttp
    not affected: vulnerable code not present

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-08).

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

Sources

Fencer Vulns 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.