CVE-2021-0313 Denial of service in Android

High 7.5 Published Updated

Remote attackers can crash or slow down Android TextView components via improper input validation without user interaction or privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-0313?

CVE-2021-0313 is a high-severity denial of service vulnerability in Google Android, published on 11 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In isWordBreakAfter of LayoutUtils.cpp, there is a possible way to slow or crash a TextView due to improper input validation. This could lead to remote denial of service with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-9, Android-10, Android-11, Android-8.0, Android-8.1; Android ID: A-170968514.

Weakness: CWE-20

Which versions are affected by CVE-2021-0313?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0313?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-0313 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-170968514, ASB-A-170968514, GHSA-jrrf-28xq-3v3x.

Is CVE-2021-0313 in your software?

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

Check your SBOMs for free