CVE-2019-2195 SQL injection in Android

High 7.8 Published Updated

An attacker can exploit improper input validation in Android's SQLite tokenizer to achieve local privilege escalation 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
None listed

What is CVE-2019-2195?

CVE-2019-2195 is a high-severity SQL injection vulnerability in Google Android, published on 13 Nov 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In tokenize of sqlite3_android.cpp, there is a possible attacker controlled INSERT statement due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.0 Android-8.1 Android-9 Android-10Android ID: A-139186193

Weakness: CWE-89, CWE-20

Which versions are affected by CVE-2019-2195?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2019-2195?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2019-2195 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-923p-cjh4-ch9f.

Is CVE-2019-2195 in your software?

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

Check your SBOMs for free