CVE-2021-0695 Use after free in Android

Medium 5.5 Published Updated

A use-after-free vulnerability in the Android kernel allows local attackers to disclose sensitive information without user interaction.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-0695?

CVE-2021-0695 is a medium-severity use after free vulnerability in Google Android, published on 6 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In get_sock_stat of xt_qtaguid.c, there is a possible out of bounds read due to a use after free. This could lead to local information disclosure with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-184018316References: Upstream kernel

Weakness: CWE-416

Which versions are affected by CVE-2021-0695?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0695?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-0695 being exploited?

There is no known exploitation of CVE-2021-0695 in the wild and no public exploit code.

All Google Android vulnerabilities

Sources

Also known as A-184018316, ASB-A-184018316, GHSA-h9h9-chxc-8v43.

Is CVE-2021-0695 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free