CVE-2022-46908

sqlite: safe mode authorizer callback allows disallowed UDFs

Published Dec 12, 2022 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-49687 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.
Ubuntu USN Ubuntu USN USN-6566-1 SQLite vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 6:35 PM
Reserved
Dec 12, 2022, 12:00 AM
Status
Modified
Published
Dec 12, 2022, 6:15 AM
Modified
Oct 14, 2026, 7:16 PM
Severity
Moderate
Public date
Dec 12, 2022, 12:00 AM