CVE-2022-46908

Exp

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.

Published: 2022-12-12 Last update: 2025-05-05 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-46908 is rated Exploit Available (52/100): CVSS High severity, with low exploitation likelihood (EPSS 0.09%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-46908

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-46908

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 0.21% 0.09% -0.12%
2 2025-03-29 0.05% 0.21% +0.16%
3 2024-03-18 0.05%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-46908

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.3 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.8 5.5 [email protected]
7.3 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.8 5.5 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2022-46908

OS Trackers for CVE-2022-46908

vendor priority summary link
debian unimportant CVE-2022-46908 unimportant priority: Debian including 1 source packages (sqlite3), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-46908
gentoo high CVE-2022-46908: 1 GLSA(s) (202311-03), 1 atom(s) (dev-db/sqlite); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-46908
redhat medium https://access.redhat.com/security/cve/CVE-2022-46908
suse high CVE-2022-46908 severity important: SUSE including 342 source package names (0.23.0.3.2.368:libsqlite3-0-3.39.3-150000.3.20.1, 0.23.1-12.3:libsqlite3-0-3.39.3-150000.3.20.1, …), 1154 product×package rows across 439 product lines (Container bci/bci-init, Container bci/bci-sle15-kernel-module-devel, … (439 product lines)): Fixed 1022, Known Affected 124, Known Not Affected 8. https://www.suse.com/security/cve/CVE-2022-46908/
ubuntu low CVE-2022-46908 low priority: Ubuntu including 2 source packages (sqlite, sqlite3), 18 status rows across 9 suites (bionic, focal, jammy, kinetic, lunar, mantic, trusty, upstream, xenial): not-affected 12, DNE 2, released 2, ignored 1, needs-triage 1. https://ubuntu.com/security/CVE-2022-46908

Affected software / configurations for CVE-2022-46908

Vendor Product Version Raw CPE
sqlite sqlite >= 3.37.0, < 3.40.1 cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*

References for CVE-2022-46908

cvelogic Threat Intelligence