CVE-2021-0341Google Android
High 7.5 No auth needed
Follow: this CVE · Google · Google Android We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Feb 10, 2021
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
What to do
- Apply the vendor's security update for Android.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.squareup.okhttp3:okhttp |
< 4.9.2 |
4.9.2 |
— |
Per OSV / GitHub Advisories (GHSA-3cqm-mf7h-prrj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| android | 8.1 | |
| android | 9.0 | |
| android | 10.0 | |
| android | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- source.android.com Patch Vendor Advisory