CVE-2020-15358

NameCVE-2020-15358
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite (PTS)buster2.8.17-15fixed
buster (security)2.8.17-15+deb10u1fixed
sqlite3 (PTS)buster3.27.2-3+deb10u1fixed
buster (security)3.27.2-3+deb10u2fixed
bullseye3.34.1-3fixed
bookworm3.40.1-2fixed
trixie3.45.1-1fixed
sid3.45.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlitesource(unstable)(not affected)
sqlite3sourcejessie(not affected)
sqlite3sourcestretch(not affected)
sqlite3sourcebuster3.27.2-3+deb10u1
sqlite3source(unstable)3.32.3-1

Notes

[stretch] - sqlite3 <not-affected> (Vulnerable code introduced in 3.25.0)
[jessie] - sqlite3 <not-affected> (Vulnerable code introduced in 3.25.0)
- sqlite <not-affected> (multiSelectOrderBy not present, PoC doesn't crash)
https://www.sqlite.org/src/info/10fa79d00f8091e5
https://www.sqlite.org/src/tktview?name=8f157e8010

Search for package or bug name: Reporting problems