CVE-2021-0508: Use After Free

Published Jun 1, 2021
·
Updated

In various functions of DrmPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Affected Software

9 affected componentsFixes available
Google Android=8.1
Google Android=9.0
Google Android=10.0
Google Android=11.0
Google Android
android/platform/frameworks/av>=8.1:0<8.1:2021-06-01
8.1:2021-06-01
android/platform/frameworks/av>=9:0<9:2021-06-01
9:2021-06-01
android/platform/frameworks/av>=10:0<10:2021-06-01
10:2021-06-01
android/platform/frameworks/av>=11:0<11:2021-06-01
11:2021-06-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 8.1:2021-06-01
  2. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 9:2021-06-01
  3. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 10:2021-06-01
  4. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 11:2021-06-01

Event History

Jun 1, 2021
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Jun 7, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
SeverityWeaknessAffected Software
Jun 21, 2021
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
DescriptionWeakness
Jun 22, 2021
Data Sourced
06:29 PM
RemedyDescription
Oct 25, 2022
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 18, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Jun 23, 2026
Updated
via Android·12:00 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-0508?

CVE-2021-0508 has a critical severity rating as it allows local escalation of privilege due to a use-after-free vulnerability.

2

How do I fix CVE-2021-0508?

To fix CVE-2021-0508, users should update their Android devices to the latest security patch provided by Google.

3

Which versions of Android are affected by CVE-2021-0508?

CVE-2021-0508 affects Android versions 8.1, 9.0, 10.0, and 11.0.

4

Is user interaction required for exploiting CVE-2021-0508?

No, user interaction is not needed for exploiting CVE-2021-0508, making it a more concerning vulnerability.

5

What type of vulnerability is CVE-2021-0508?

CVE-2021-0508 is classified as a use-after-free vulnerability caused by a race condition in the DrmPlugin.cpp.

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