CVE-2021-0341

okhttp: information disclosure via improperly used cryptographic function

Published Feb 10, 2021 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2960 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
Github GHSA Github GHSA GHSA-3cqm-mf7h-prrj Square OkHttp can accept the wrong certificate
History
Type Values Removed Values Added
First Time appeared Redhat openshift Devspaces
CPEs cpe:/a:redhat:openshift_devspaces:3::el8
Vendors & Products Redhat openshift Devspaces
Weaknesses

Sources

Status
PUBLISHED
Assigner
google_android
Published
Updated
Aug 3, 2024, 3:40 PM
Reserved
Nov 6, 2020, 12:00 AM
Status
Modified
Published
Feb 10, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:29 AM
Severity
Moderate
Public date
Feb 10, 2021, 12:00 AM