CVE-2021-0341
Java packages · CVE-2021-0341
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
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.915% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:29.367Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:13.499Z | OSV |
| affected | verified | 2026-11-19T12:55:41.205Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:41.205Z | CVE Program |
Affected versions and configuration
n/a Android; default status: unknown: Android-8.1 Android-9 Android-10 Android-11 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "Android",
"versions": [
{
"status": "affected",
"version": "Android-8.1 Android-9 Android-10 Android-11"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://source.android.com/security/bulletin/2021-02-01",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T15:40:00.192Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3cqm-mf7h-prrj",
"aliases": [
"A-171980069",
"ASB-A-171980069",
"CVE-2021-0341"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.2"
}
]
}
],
"package": {
"name": "com.squareup.okhttp3:okhttp",
"purl": "pkg:maven/com.squareup.okhttp3/okhttp",
"ecosystem": "Maven"
},
"versions": [
"3.0.0",
"3.0.0-RC1",
"3.0.1",
"3.1.0",
"3.1.1",
"3.1.2",
"3.10.0",
"3.11.0",
"3.12.0",
"3.12.1",
"3.12.10",
"3.12.11",
"3.12.12",
"3.12.13",
"3.12.2",
"3.12.3",
"3.12.4",
"3.12.5",
"3.12.6",
"3.12.7",
"3.12.8",
"3.12.9",
"3.13.0",
"3.13.1",
"3.14.0",
"3.14.1",
"3.14.2",
"3.14.3",
"3.14.4",
"3.14.5",
"3.14.6",
"3.14.7",
"3.14.8",
"3.14.9",
"3.2.0",
"3.3.0",
"3.3.1",
"3.4.0",
"3.4.0-RC1",
"3.4.1",
"3.4.2",
"3.5.0",
"3.6.0",
"3.7.0",
"3.8.0",
"3.8.1",
"3.9.0",
"3.9.1",
"4.0.0",
"4.0.0-RC1",
"4.0.0-RC2",
"4.0.0-RC3",
"4.0.0-alpha01",
"4.0.0-alpha02",
"4.0.1",
"4.1.0",
"4.1.1",
"4.2.0",
"4.2.1",
"4.2.2",
"4.3.0",
"4.3.1",
"4.4.0",
"4.4.1",
"4.5.0",
"4.5.0-RC1",
"4.6.0",
"4.7.0",
"4.7.1",
"4.7.2",
"4.8.0",
"4.8.1",
"4.9.0",
"4.9.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3cqm-mf7h-prrj/GHSA-3cqm-mf7h-prrj.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-0341",
"type": "ADVISORY"
},
{
"url": "https://github.com/square/okhttp/issues/6724",
"type": "WEB"
},
{
"url": "https://github.com/square/okhttp/pull/6741",
"type": "WEB"
},
{
"url": "https://github.com/square/okhttp/commit/f574ea2f5259d9040f264ddeb582fb1ce563f10c",
"type": "WEB"
},
{
"url": "https://github.com/square/okhttp",
"type": "PACKAGE"
},
{
"url": "https://source.android.com/security/bulletin/2021-02-01",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-295"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-02-10T17:15:00Z",
"github_reviewed_at": "2025-11-13T16:34:06Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | com.squareup.okhttp3:okhttp | Not a distribution channel | 4.9.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:13.499ZArchived source JSON
Source publication: 2022-05-24T17:41:45.000Z
Source modification: 2026-09-10T03:49:29.393ZDocument fingerprint
08759e993b96e29fa070546546a8f0782f8b8e52ae73d78d7486add3a0a8d386 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:41.205ZArchived source JSON
Source publication: 2021-02-10T16:50:15.000Z
Source modification: 2024-08-03T15:40:00.192ZDocument fingerprint
322df777f926265fc13bfccbbb876720f5ee3598a26c8dd1f7d540822a0e24e3 - FIRST EPSSConsulted: 2026-11-19T16:04:29.367ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
6edec3ff5408c9332bb5cad007615e6981ab6e76b387b737f9030d5936c5b5e2
Official status history
- UNKNOWN → PUBLISHED · · evidence