CVE-2022-46908
Summary
| CVE | CVE-2022-46908 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-12 06:15:10 UTC |
| Updated | 2026-10-14 19:16:55 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.3 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
EPSS: 0.004440000 probability, percentile 0.370180000 (date 2026-10-14)
Problem Types: NVD-CWE-Other | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| 3.1 | ADP | DECLARED | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | N/a | affected n/a | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-556635.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Just a few days ago I found a serious security issue in SQLite: https://sqlite.o... | Hacker News | af854a3a-2127-422b-91ae-364da2661108 | news.ycombinator.com | Exploit, Issue Tracking, Third Party Advisory |
| CVE-2022-46908 SQLite Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| SQLite: Check-in [cefc0324] | af854a3a-2127-422b-91ae-364da2661108 | sqlite.org | Patch, Vendor Advisory |
| SQLite: Multiple Vulnerabilities (GLSA 202311-03) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| SQLite Forum: Why does --safe not prevent writefile() and readfile()? | af854a3a-2127-422b-91ae-364da2661108 | sqlite.org | Exploit, Issue Tracking, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 184470 Debian Security Update for sqlite3 (CVE-2022-46908)
- 200023 Ubuntu Security Notification for SQLite Vulnerabilities (USN-6566-1)
- 296099 Oracle Solaris 11.4 Support Repository Update (SRU) 57.144.3 Missing (CPUAPR2023)
- 672848 EulerOS Security Update for sqlite (EulerOS-SA-2023-1578)
- 672849 EulerOS Security Update for sqlite (EulerOS-SA-2023-1588)
- 710786 Gentoo Linux SQLite Multiple Vulnerabilities (GLSA 202311-03)
- 753057 SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2022:4603-1)
- 753072 SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2022:4628-1)
- 754146 SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2023:2668-1)
- 754149 SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2023:1295-1)
- 904672 Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (11592)
- 904675 Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (11586)
- 904711 Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (11586-1)