CVE-2018-20505

NameCVE-2018-20505
DescriptionSQLite 3.25.2, when queries are run on a table with a malformed PRIMARY KEY, allows remote attackers to cause a denial of service (application crash) by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases).
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)jessie, jessie (lts)2.8.17-12+deb8u1fixed
stretch (lts), stretch2.8.17-14+deb9u1fixed
buster2.8.17-15fixed
buster (security)2.8.17-15+deb10u1fixed
sqlite3 (PTS)jessie, jessie (lts)3.8.7.1-1+deb8u8fixed
stretch (security)3.16.2-5+deb9u3fixed
stretch (lts), stretch3.16.2-5+deb9u4fixed
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)
sqlite3source(unstable)3.25.3-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)
https://sqlite.org/src/info/1a84668dcfdebaf12415d
[wheezy] - sqlite3 <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems