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.

PackageEcosystemFixed in
sqlite-libsAmazon Linux3.40.0-1.amzn2023.0.5
sqlite-develAmazon Linux3.40.0-1.amzn2023.0.5
lemonAmazon Linux3.40.0-1.amzn2023.0.5
sqlite-toolsAmazon Linux3.40.0-1.amzn2023.0.5
sqliteBitnami3.40.1
sqliteAmazon Linux3.40.0-1.amzn2023.0.5
sqlite-tclAmazon Linux3.40.0-1.amzn2023.0.5
sqlite-analyzerAmazon Linux3.40.0-1.amzn2023.0.5
sqlite-docAmazon Linux3.40.0-1.amzn2023.0.5
sqlitesqlite3.40.1
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
sqliteBitnami3.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

VendorProductVersions
n/an/an/a
amazon:2023sqlite-libs0
chainguardsqlite*
amazon:2023sqlite-devel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023lemon0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
wolfisqlite*
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2023sqlite-tools0
amazon:2023sqlite0
amazon:2023sqlite-tcl0
amazon:2023sqlite-analyzer0
amazon:2023sqlite-doc0
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›