CVE-2021-45346

NameCVE-2021-45346
DescriptionA Memory Leak vulnerability exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicious user obtain sensitive information. NOTE: The developer disputes this as a vulnerability stating that If you give SQLite a corrupted database file and submit a query against the database, it might read parts of the database that you did not intend or expect.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1005974

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite (PTS)jessie, jessie (lts)2.8.17-12+deb8u1vulnerable
stretch (lts), stretch2.8.17-14+deb9u1vulnerable
buster2.8.17-15vulnerable
buster (security)2.8.17-15+deb10u1vulnerable
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
buster3.27.2-3+deb10u1vulnerable
buster (security)3.27.2-3+deb10u2vulnerable
bullseye3.34.1-3vulnerable
bookworm3.40.1-2vulnerable
trixie3.45.1-1vulnerable
sid3.45.3-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlitesource(unstable)(unfixed)unimportant
sqlite3source(unstable)(unfixed)unimportant1005974

Notes

https://github.com/guyinatuxedo/sqlite3_record_leaking
https://bugzilla.redhat.com/show_bug.cgi?id=2054793
https://sqlite.org/forum/forumpost/056d557c2f8c452ed5bb9c215414c802b215ce437be82be047726e521342161e
Negligible security impact
[jessie] - sqlite3 <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems