VDB
CVE-2022-46908
CVE-2022-46908
PUBLISHED
CVSS 7.3 HIGH
Reported by mitre · Published December 12, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sqlite-libs | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite-devel | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| lemon | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite-tools | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite | Bitnami | 3.40.1 |
| sqlite | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite-tcl | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite-analyzer | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite-doc | Amazon Linux | 3.40.0-1.amzn2023.0.5 |
| sqlite | sqlite | 3.40.1 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| sqlite | Bitnami | 3.40.1 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
CVSS 3.1
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | sqlite-libs | 0 |
| chainguard | sqlite | * |
| amazon:2023 | sqlite-devel | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | lemon | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| wolfi | sqlite | * |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | sqlite-tools | 0 |
| amazon:2023 | sqlite | 0 |
| amazon:2023 | sqlite-tcl | 0 |
| amazon:2023 | sqlite-analyzer | 0 |
| amazon:2023 | sqlite-doc | 0 |
| n/a | n/a | * |
Timeline
- Dec 12, 2022 CVE Published
- Dec 12, 2022 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- May 24, 2026 Coalition ESS Score
- Jun 2, 2026 Security Advisory (7 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-46908
vulnetix vdb fixes CVE-2022-46908
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-46908/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart