CVE-2021-0341: High severity Google Android vulnerability

Published Feb 1, 2021
·
Updated

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: Android Versions: Android-8.1 Android-9 Android-10 Android-11 Android ID: A-171980069

https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc%5E%21/#F1

Other sources

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

Affected Software

9 affected componentsFixes available
redhat/rh-sso7-keycloak<0:18.0.7-1.redhat_00001.1.el7
0:18.0.7-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.7-1.redhat_00001.1.el8
0:18.0.7-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.7-1.redhat_00001.1.el9
0:18.0.7-1.redhat_00001.1.el9
redhat/Android_ID A<171980069
171980069
Google Android=8.1
Google Android=9.0
Google Android=10.0
Google Android=11.0
Google Android

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.7-1.redhat_00001.1.el7
  2. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.7-1.redhat_00001.1.el8
  3. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.7-1.redhat_00001.1.el9
  4. Upgrade

    Upgrade redhat/Android_ID A to a version that resolves this vulnerability.

    Fixed in 171980069

Event History

Feb 1, 2021
CVE Published
via Android·12:00 AM
Feb 10, 2021
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionWeakness
Dec 15, 2022
Data Sourced
via Red Hat·07:56 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-0341?

The severity of CVE-2021-0341 is considered to be high due to potential remote information disclosure.

2

How do I fix CVE-2021-0341?

To fix CVE-2021-0341, ensure you update your software to the latest version that addresses this vulnerability.

3

What software is affected by CVE-2021-0341?

CVE-2021-0341 affects various versions of the rh-sso7-keycloak package across Red Hat Enterprise Linux 7, 8, and 9, as well as specific Android versions.

4

Is user interaction required for the exploitation of CVE-2021-0341?

No, user interaction is not needed for the exploitation of CVE-2021-0341.

5

What is the impact of CVE-2021-0341 on applications?

CVE-2021-0341 could lead to remote information disclosure, allowing attackers to manipulate certificate validation for incorrect domains.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203