CVE-2019-19923

NameCVE-2019-19923
DescriptionflattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4638-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
chromium (PTS)buster, buster (security)90.0.4430.212-1~deb10u1fixed
bullseye (security), bullseye120.0.6099.224-1~deb11u1fixed
bookworm121.0.6167.139-1~deb12u1fixed
bookworm (security)123.0.6312.122-1~deb12u1fixed
trixie123.0.6312.105-1~deb13u1fixed
sid124.0.6367.60-1fixed
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.3-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
chromiumsourcestretch(unfixed)end-of-life
chromiumsourcebuster80.0.3987.132-1~deb10u1DSA-4638-1
chromiumsource(unstable)80.0.3987.106-1
sqlitesource(unstable)(not affected)
sqlite3sourcejessie(not affected)
sqlite3sourcestretch(not affected)
sqlite3sourcebuster3.27.2-3+deb10u1
sqlite3source(unstable)3.30.1+fossil191229-1

Notes

[stretch] - sqlite3 <not-affected> (Vulnerable code introduced later)
[jessie] - sqlite3 <not-affected> (Vulnerable code introduced later)
- sqlite <not-affected> (Vulnerable code introduced later)
[stretch] - chromium <end-of-life> (see DSA 4562)
https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35

Search for package or bug name: Reporting problems