CVE-2020-15358 Memory corruption in n/a

Medium 5.5 Published Updated

A heap overflow in SQLite's query-flattener optimization allows attackers to execute arbitrary code or cause denial of service via crafted SQL queries.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-15358?

CVE-2020-15358 is a medium-severity memory corruption vulnerability in Apple Icloud, published on 27 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflow because of misuse of transitive properties for constant propagation.

Weakness: CWE-787

Which versions are affected by CVE-2020-15358?

1 open source package ship an affected version, including sqlite. It affects 16 products.

PackageAffectedFixed in
sqlite BitnamiAll versions3.32.3

Products include Apple Icloud, Apple Ipados, Apple Iphone Os, Apple Macos, Apple Tvos, Apple Watchos and 10 more.

How do I fix CVE-2020-15358?

Upgrade sqlite to 3.32.3 or later.

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

Is CVE-2020-15358 being exploited?

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

All Apple Icloud vulnerabilities

Sources

Also known as A-192605364, ALPINE-CVE-2020-15358, ASB-A-192605364, BIT-sqlite-2020-15358, DEBIAN-CVE-2020-15358, GHSA-rq2p-jfw7-2cj3 and 2 more.

Is CVE-2020-15358 in your software?

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

Check your SBOMs for free