CVE-2019-8457

NameCVE-2019-8457
DescriptionSQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when handling invalid rtree tables.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-123-1
Debian Bugs929775, 1010974

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
db5.3 (PTS)jessie5.3.28-9+deb8u1vulnerable
stretch5.3.28-12+deb9u1vulnerable
buster5.3.28+dfsg1-0.5vulnerable
bullseye5.3.28+dfsg1-0.8vulnerable
bookworm5.3.28+dfsg2-1fixed
sid, trixie5.3.28+dfsg2-9fixed
sqlite (PTS)jessie, jessie (lts)2.8.17-12+deb8u1fixed
stretch (lts), stretch2.8.17-14+deb9u1fixed
buster (security), buster, buster (lts)2.8.17-15+deb10u1fixed
sqlite3 (PTS)jessie, jessie (lts)3.8.7.1-1+deb8u8vulnerable
stretch (security)3.16.2-5+deb9u3vulnerable
stretch (lts), stretch3.16.2-5+deb9u4vulnerable
buster, buster (lts)3.27.2-3+deb10u3fixed
buster (security)3.27.2-3+deb10u2fixed
bullseye3.34.1-3fixed
bullseye (security)3.34.1-3+deb11u1fixed
bookworm3.40.1-2+deb12u1fixed
sid, trixie3.46.1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
db5.3source(unstable)5.3.28+dfsg1-0.91010974
sqlitesource(unstable)(not affected)
sqlite3sourcewheezy3.7.13-1+deb7u6ELA-123-1
sqlite3source(unstable)3.27.2-3929775

Notes

[bullseye] - db5.3 <ignored> (vulnerable code is present but unused in Debian, and fix is too risky to backport)
[buster] - db5.3 <ignored> (vulnerable code is present but unused in Debian, and fix is too risky to backport)
[stretch] - db5.3 <ignored> (vulnerable code is present but unused in Debian, and fix is too risky to backport)
[stretch] - sqlite3 <ignored> (vulnerable code is present but unused in Debian, and fix is too risky to backport)
[jessie] - sqlite3 <ignored> (vulnerable code is present but unused in Debian, and fix is too risky to backport)
- sqlite <not-affected> (rtree extension not present in v2)
Fixed by: https://www.sqlite.org/src/info/90acdbfce9c08858
Make the internal dynamic string interface available to extensions:
https://sqlite.org/src/info/87f261f0cb800b06
Affected function is not used in Debian and meant for debugging purposes,
backporting the fix would be very complex.
https://lists.debian.org/debian-lts/2023/06/msg00012.html
https://lists.debian.org/debian-lts/2019/06/msg00013.html
https://lists.debian.org/debian-lts/2019/06/msg00036.html
[jessie] - db5.3 <ignored> (vulnerable code is present but unused in Debian, and fix is too risky to backport)

Search for package or bug name: Reporting problems