CVE-2021-0363 Command injection in Android

Medium 6.7 Published Updated

A missing bounds check in mobile_log_d allows local attackers with system privileges to execute arbitrary commands, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-0363?

CVE-2021-0363 is a medium-severity command injection vulnerability in Google Android, published on 2 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In mobile_log_d, there is a possible command injection due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-10, Android-11; Patch ID: ALPS05458478.

Weakness: CWE-77

Which versions are affected by CVE-2021-0363?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0363?

No fix has been published for CVE-2021-0363 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-0363 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-g856-2j5m-5v2v.

Is CVE-2021-0363 in your software?

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

Check your SBOMs for free