CVE-2021-0341
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
How to fix
- com.squareup.okhttp3:okhttp4.9.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| google android | 8.1, 9.0, 10.0, 11.0 | — |
| com.squareup.okhttp3:okhttpMaven | v < 4.9.2 | 4.9.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.