CVE-2022-46908
JSON

7.3high

SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctio…

Severity
7.3high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.41% (higher than 27% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
BIT-SQLITE-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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
sqlite sqlitefrom 3.37.0 before 3.40.1NVD
sqlite (Bitnami)from 3.37.0 before 3.40.1Bitnami Vulnerability Database

All scores

CISA-ADP7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
NVD7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Bitnami Vulnerability Databasehigh rating

Classification

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

SQLite hasta 3.40.0, cuando depende de --safe para la ejecución de un script CLI que no es de confianza, no implementa correctamente el mecanismo de protección azProhibitedFunctions y, en su lugar, permite funciones UDF como WRITEFILE.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-46908 changed 2026-10-14CVE Terms of Use
NVDCVE-2022-46908 changed 2026-10-14Public domain
Bitnami Vulnerability DatabaseBIT-SQLITE-2022-46908 changed 2026-09-08Apache-2.0