Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.squareup.okhttp3/okhttp
  4. ›
  5. CVE-2018-20200

CVE-2018-20200: Improper Certificate Validation

April 18, 2019 (updated December 16, 2020)

CertificatePinner.java allows man-in-the-middle attackers to bypass certificate pinning by changing SSLContext and the boolean values while hooking the application.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-20200

Code Behaviors & Features

Detect and mitigate CVE-2018-20200 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 until 3.12.0

Fixed versions

  • 3.12.1

Solution

Upgrade to version 3.12.1 or above

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/com.squareup.okhttp3/okhttp/CVE-2018-20200.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:25 +0000.