cbcvebase.
CVE-2022-46908
published 2022-12-12

CVE-2022-46908: SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection…

PriorityP337high7.3CVSS 3.1
AVLACLPRLUINSUCHIHAL
EPSS
0.43%
34.5th percentile
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.

Affected

9 ranges
VendorProductVersion rangeFixed in
debiansqlite3< sqlite3 3.40.0-2 (bookworm)sqlite3 3.40.0-2 (bookworm)
ghostsqlite3>= 0 < 3.40.0-23.40.0-2
ghostsqlite3>= 0 < 3.40.0-23.40.0-2
ghostsqlite3>= 0 < 3.40.0-23.40.0-2
ghostsqlite3>= 0 < 3.31.1-4ubuntu0.63.31.1-4ubuntu0.6
ghostsqlite3>= 0 < 3.37.2-2ubuntu0.33.37.2-2ubuntu0.3
msrccbl2_sqlite_3.39.2-2_on_cbl_mariner_2.0
msrccm1_sqlite_3.34.1-2_on_cbl_mariner_1.0
sqlitesqlite>= 3.37.0 < 3.40.13.40.1

CVSS provenance

nvdv3.17.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
osv7.3HIGH
vendor_debian7.3HIGH
vendor_msrc7.3HIGH
vendor_oracle7.3HIGH
vendor_redhat7.3HIGH
vendor_ubuntu7.3HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.