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.
https://security.netapp.com/advisory/ntap-20230203-0005/
https://security.gentoo.org/glsa/202311-03
https://cert-portal.siemens.com/productcert/html/ssa-556635.html
https://sqlite.org/src/info/cefc032473ac5ad2
https://sqlite.org/forum/forumpost/07beac8056151b2f
https://news.ycombinator.com/item?id=33948588
Source: Mitre, NVD
Published: 2022-12-12
Updated: 2023-11-24
Base Score: 6.4
Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:P
Severity: Medium
Base Score: 7.3
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Severity: High
EPSS: 0.00088