Name | CVE-2022-46908 |
Description | SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1026293 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sqlite3 (PTS) | 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 | buster | (not affected) | | | |
sqlite3 | source | bullseye | (not affected) | | | |
sqlite3 | source | (unstable) | 3.40.0-2 | | | 1026293 |
Notes
[bullseye] - sqlite3 <not-affected> (Vulnerable code introduced later)
[buster] - sqlite3 <not-affected> (Vulnerable code introduced later)
- sqlite <not-affected> (--safe introduced in v3.36.0)
https://sqlite.org/forum/forumpost/07beac8056151b2f
Fixed by: https://sqlite.org/src/info/cefc032473ac5ad2