CVE-2018-20200 — CertificatePinner
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 vulnerabi
Published
2019-04-18T18:31:52.000Z
Last modified
2024-08-05T11:58:19.134Z
01What is this vulnerability?
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
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / n/a | n/a |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2019-04-18T18:31:52.000Z
- Last modified: 2024-08-05T11:58:19.134Z
09References
- square.github.io — https://square.github.io/okhttp/3.x/okhttp/
- github.com — https://github.com/square/okhttp/releases
- github.com — https://github.com/square/okhttp/commits/master
- cxsecurity.com — https://cxsecurity.com/issue/WLB-2018120252
- github.com — https://github.com/square/okhttp/issues/4967
- lists.apache.org — https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12e…
- lists.apache.org — https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e…
- lists.apache.org — https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d28…
- lists.apache.org — https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba…
- lists.apache.org — https://lists.apache.org/thread.html/r71100f23778d72fbd8be8baa6baffc159b9c4f3fae…
- lists.apache.org — https://lists.apache.org/thread.html/rc436d58531754ac8fe20340044566518ea4dce66ae…
- lists.apache.org — https://lists.apache.org/thread.html/recce57e195fbdd856dcf1933c136a8a66d7b02e05e…
- lists.apache.org — https://lists.apache.org/thread.html/rfd1eed12ba2a5dff37229edd60fc84a25517815d84…
- lists.apache.org — https://lists.apache.org/thread.html/r78bfce980843be61a55615a7680bbf7ac751a9b351…
- lists.apache.org — https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →