CVE-2022-20385 Memory corruption in Android

Critical 9.8 Published Updated

An out-of-bounds access in the Android kernel's nla_parse function allows attackers to potentially execute code or escalate privileges via crafted netlink messages.

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

What is CVE-2022-20385?

CVE-2022-20385 is a critical memory corruption vulnerability in Google Android, published on 13 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

a function called 'nla_parse', do not check the len of para, it will check nla_type (which can be controlled by userspace) with 'maxtype' (in this case, it is GSCAN_MAX), then it access polciy array 'policy[type]', which OOB access happens.Product: AndroidVersions: Android SoCAndroid ID: A-238379819

Weakness: CWE-1284

Which versions are affected by CVE-2022-20385?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20385?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-20385 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-pwg3-f8g7-h57r.

Is CVE-2022-20385 in your software?

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

Check your SBOMs for free