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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.squareup.okhttp3:okhttp | < 4.9.2 | 4.9.2 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2021-0341
- https://github.com/square/okhttp/issues/6724
- https://github.com/square/okhttp/pull/6741
- https://github.com/square/okhttp/commit/f574ea2f5259d9040f264ddeb582fb1ce563f10c
- https://github.com/square/okhttp
- https://source.android.com/security/bulletin/2021-02-01
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-295- Plattform
- Java / Kotlin (Maven)
- Paket
com.squareup.okhttp3:okhttp- Veröffentlicht
- 24.05.2022
- Aktualisiert
- 11.10.2026 13:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-3cqm-mf7h-prrj - CC BY 4.0
Schwachstellenhistorie: com.squareup.okhttp3:okhttp
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 2
- Erste → letzte
- 05.2022 05.2022
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Mittel 1
Veröffentlichungen pro Jahr
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Square OkHttp can accept the wrong certificate dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.