Name | CVE-2018-20506 |
Description | SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1613-1, DLA-2340-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
sqlite (PTS) | jessie, jessie (lts) | 2.8.17-12+deb8u1 | fixed |
stretch (lts), stretch | 2.8.17-14+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 2.8.17-15+deb10u1 | fixed | |
sqlite3 (PTS) | jessie, jessie (lts) | 3.8.7.1-1+deb8u8 | fixed |
stretch (security) | 3.16.2-5+deb9u3 | fixed | |
stretch (lts), stretch | 3.16.2-5+deb9u4 | fixed | |
buster, buster (lts) | 3.27.2-3+deb10u3 | fixed | |
buster (security) | 3.27.2-3+deb10u2 | fixed | |
bullseye | 3.34.1-3 | fixed | |
bullseye (security) | 3.34.1-3+deb11u1 | fixed | |
bookworm | 3.40.1-2+deb12u1 | fixed | |
sid, trixie | 3.46.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
sqlite | source | (unstable) | (not affected) | |||
sqlite3 | source | jessie | 3.8.7.1-1+deb8u3 | DLA-1613-1 | ||
sqlite3 | source | stretch | 3.16.2-5+deb9u2 | DLA-2340-1 | ||
sqlite3 | source | (unstable) | 3.25.3-1 |
- sqlite <not-affected> (FTS (full-text search) modules not present in v2)
https://sqlite.org/src/info/940f2adc8541a838
[wheezy] - sqlite3 <no-dsa> (Minor issue)