GHSA-3cqm-mf7h-prrj

Square OkHttp can accept the wrong certificate

At a glance

Published
Updated
CVE
CVE-2021-0341
Aliases
A-171980069, ASB-A-171980069
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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-11 Android ID: A-171980069

Affected packages

PackageVersions
Maven · com.squareup.okhttp3:okhttpintroduced 0, fixed 4.9.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database