WaratekVRT Sign in

CVE-2021-0341

Severity7.5 High CVSS 3.1 2 scores
Fixed in4.9.2
WeaknessCWE-295
Published10 Feb 2021
Updated17 Jun 2026

Description

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.92% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: square/okhttp #6741.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle Communications / Install (OkHttp) (25.1.200)
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Fusion Middleware / Centralized Thirdparty Jars (OkHttp) (12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Install (OkHttp) 25.1.200 25.1.200
Oracle Fusion Middleware Centralized Thirdparty Jars (OkHttp) 12.2.1.4.0 12.2.1.4.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.squareup.okhttp3:okhttp 0 4.9.2 unbounded

Products and versions

2 products, 5 version entries
SourceVendorProductSchemeAffected versions
osv com.squareup.okhttp3 okhttp generic < 4.9.2
nvd google android generic 8.1 · 9.0 · 10.0 · 11.0

References

URLTags
https://github.com/square/okhttp/issues/6724 WEB
https://github.com/square/okhttp/pull/6741 WEB
https://github.com/square/okhttp/commit/f574ea2f5259d9040f264ddeb582fb1ce563f10c WEB
https://github.com/square/okhttp PACKAGE
https://source.android.com/security/bulletin/2021-02-01 WEB

Timeline

Published2021-02-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.