CVE-2021-0520: Use After Free

Published Jun 1, 2021
·
Updated

In several functions of MemoryFileSystem.cpp and related files, 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

5 affected componentsFixes available
Google Android=10.0
Google Android=11.0
Google Android
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 10:2021-06-01
  2. 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
via Android·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Jun 21, 2021
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
DescriptionWeakness
Apr 7, 2022
Exploit Published
via GitHub·01:14 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Devices running Android 10 or Android 11 are identified as affected. Exploitation is local, so an attacker needs a foothold on the device rather than network-only access.

2

What access and interaction does exploitation require?

The CVSS vector indicates local access, low privileges, high attack complexity, and no user interaction. No additional execution privileges are needed for the escalation attempt.

3

What is the potential impact if exploitation succeeds?

Successful exploitation could allow local escalation of privilege. Confidentiality, integrity, and availability impacts are all rated high in the supplied CVSS vector.

4

What should teams do if affected devices cannot be patched immediately?

A patch is available. The provided data does not specify a workaround or mitigation for unpatched devices.

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