ADVISORIES

Vulnerability

CVE-2021-0341

In verifyHostName of OkHostnameVerifier.java, there is a possible way to accept a certificate for the wrong domain due to improperly used crypto. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-171980069

38 advisories report this vulnerability, across 3 ecosystems.

Advisories in Maven

  • GHSA-3cqm-mf7h-prrj

    Square OkHttp can accept the wrong certificate

    High CVE-2021-0341 Maven Updated 10 September 2026

References