#VU72323 Improper Certificate Validation in Google Android - CVE-2021-0341
Published: February 16, 2023 / Updated: May 10, 2023
Google Android
Description
The vulnerability allows a remote attacker to perform MitM attack.
the vulnerability exists due to improper certificate validation within the verifyHostName in OkHostnameVerifier.java in okhttp library in Android runtime. A remote attacker can force the system to accept a certificate for the wrong domain due to improperly used crypto and perform MitM attack.
Remediation
External links
- https://source.android.com/security/bulletin/2021-02-01
- https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc
- https://android.googlesource.com/platform/libcore/+/4076be9a99bad5ff7651540df976c57462c3b8ce
- https://bugzilla.redhat.com/show_bug.cgi?id=2154086