CVE Catalog

CVE-2022-46908

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

37th percentile - higher than 37% of all known CVEs

Summary

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. This can lead to unauthorized file writes.

Risk Assessment

Executing an untrusted SQLite CLI script with the --safe option may allow writing files on the system, potentially leading to data integrity violations or privilege escalation. Organizations using SQLite to process untrusted scripts are exposed.

Recommendation

Update SQLite to a version later than 3.40.0. Avoid executing untrusted SQLite CLI scripts with the --safe option.

Other vulnerabilities in SQLite

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS