CVE-2021-0356 Command injection in Android

Medium 6.7 Published Updated

Local attackers can execute arbitrary commands with system privileges in Android netdiag due to improper input validation.

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-0356?

CVE-2021-0356 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 netdiag, there is a possible command injection due to improper input validation. 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: ALPS05442014.

Weakness: CWE-77

Which versions are affected by CVE-2021-0356?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0356?

No fix has been published for CVE-2021-0356 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-0356 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-qpr8-xrx4-f6mx.

Is CVE-2021-0356 in your software?

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

Check your SBOMs for free