CVE-2022-46908

Summary

CVECVE-2022-46908
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-12-12 06:15:10 UTC
Updated2026-10-14 19:16:55 UTC
DescriptionSQLite 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
3.1ADPDECLARED7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Application Sqlite Sqlite All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report