{"api_version":"1","generated_at":"2026-04-23T00:41:45+00:00","cve":"CVE-2022-46908","urls":{"html":"https://cve.report/CVE-2022-46908","api":"https://cve.report/api/cve/CVE-2022-46908.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46908","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46908"},"summary":{"title":"CVE-2022-46908","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-12-12 06:15:00","updated_at":"2023-11-24 14:15:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://news.ycombinator.com/item?id=33948588","name":"https://news.ycombinator.com/item?id=33948588","refsource":"MISC","tags":[],"title":"Just a few days ago I found a serious security issue in SQLite: https://sqlite.o... | Hacker News","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202311-03","name":"GLSA-202311-03","refsource":"","tags":[],"title":"SQLite: Multiple Vulnerabilities (GLSA 202311-03) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20230203-0005/","name":"https://security.netapp.com/advisory/ntap-20230203-0005/","refsource":"CONFIRM","tags":[],"title":"CVE-2022-46908 SQLite Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://sqlite.org/forum/forumpost/07beac8056151b2f","name":"https://sqlite.org/forum/forumpost/07beac8056151b2f","refsource":"MISC","tags":[],"title":"SQLite Forum: Why does --safe not prevent writefile() and readfile()?","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://sqlite.org/src/info/cefc032473ac5ad2","name":"https://sqlite.org/src/info/cefc032473ac5ad2","refsource":"MISC","tags":[],"title":"SQLite: Check-in [cefc0324]","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-46908","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46908","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"46908","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sqlite","cpe5":"sqlite","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"46908","vulnerable":"1","versionEndIncluding":"3.40.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sqlite","cpe5":"sqlite","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-46908","qid":"184470","title":"Debian Security Update for sqlite3 (CVE-2022-46908)"},{"cve":"CVE-2022-46908","qid":"200023","title":"Ubuntu Security Notification for SQLite Vulnerabilities (USN-6566-1)"},{"cve":"CVE-2022-46908","qid":"296099","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 57.144.3 Missing (CPUAPR2023)"},{"cve":"CVE-2022-46908","qid":"672848","title":"EulerOS Security Update for sqlite (EulerOS-SA-2023-1578)"},{"cve":"CVE-2022-46908","qid":"672849","title":"EulerOS Security Update for sqlite (EulerOS-SA-2023-1588)"},{"cve":"CVE-2022-46908","qid":"710786","title":"Gentoo Linux SQLite Multiple Vulnerabilities (GLSA 202311-03)"},{"cve":"CVE-2022-46908","qid":"753057","title":"SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2022:4603-1)"},{"cve":"CVE-2022-46908","qid":"753072","title":"SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2022:4628-1)"},{"cve":"CVE-2022-46908","qid":"754146","title":"SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2023:2668-1)"},{"cve":"CVE-2022-46908","qid":"754149","title":"SUSE Enterprise Linux Security Update for sqlite3 (SUSE-SU-2023:1295-1)"},{"cve":"CVE-2022-46908","qid":"904672","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (11592)"},{"cve":"CVE-2022-46908","qid":"904675","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (11586)"},{"cve":"CVE-2022-46908","qid":"904711","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (11586-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-46908","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://news.ycombinator.com/item?id=33948588","refsource":"MISC","name":"https://news.ycombinator.com/item?id=33948588"},{"url":"https://sqlite.org/forum/forumpost/07beac8056151b2f","refsource":"MISC","name":"https://sqlite.org/forum/forumpost/07beac8056151b2f"},{"url":"https://sqlite.org/src/info/cefc032473ac5ad2","refsource":"MISC","name":"https://sqlite.org/src/info/cefc032473ac5ad2"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20230203-0005/","url":"https://security.netapp.com/advisory/ntap-20230203-0005/"}]}},"nvd":{"publishedDate":"2022-12-12 06:15:00","lastModifiedDate":"2023-11-24 14:15:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.5}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*","versionStartIncluding":"3.37.0","versionEndExcluding":"3.40.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}