Vulnerability Description
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
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Squareup | Okhttp | >= 3.0.0, <= 3.12.0 |
Related Weaknesses (CWE)
References
- https://cxsecurity.com/issue/WLB-2018120252ExploitThird Party Advisory
- https://github.com/square/okhttp/commits/masterPatchThird Party Advisory
- https://github.com/square/okhttp/issues/4967
- https://github.com/square/okhttp/releasesProduct
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12e
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d28
- https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba
- https://lists.apache.org/thread.html/r71100f23778d72fbd8be8baa6baffc159b9c4f3fae
- https://lists.apache.org/thread.html/r78bfce980843be61a55615a7680bbf7ac751a9b351
- https://lists.apache.org/thread.html/rc436d58531754ac8fe20340044566518ea4dce66ae
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995
- https://lists.apache.org/thread.html/recce57e195fbdd856dcf1933c136a8a66d7b02e05e
- https://lists.apache.org/thread.html/rfd1eed12ba2a5dff37229edd60fc84a25517815d84
- https://square.github.io/okhttp/3.x/okhttp/Third Party Advisory
FAQ
What is CVE-2018-20200?
CVE-2018-20200 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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: ...
How severe is CVE-2018-20200?
CVE-2018-20200 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-20200?
Check the references section above for vendor advisories and patch information. Affected products include: Squareup Okhttp.