Square OkHttp can accept the wrong certificate
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
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-0341US | high7.5 | — | ||
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 informat… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/square/okhttpPACKAGE
- https://github.com/square/okhttp/commit/f574ea2f5259d9040f264ddeb582fb1ce563f10cWEB
- https://github.com/square/okhttp/issues/6724WEB
- https://github.com/square/okhttp/pull/6741WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-0341ADVISORY
- https://source.android.com/security/bulletin/2021-02-01WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan