{"id":"CVE-2022-46908","aliases":["CVE-2022-46908","BIT-SQLITE-2022-46908"],"related":[],"kind":"vulnerability","state":"published","title":"SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctio…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"SQLite hasta 3.40.0, cuando depende de --safe para la ejecución de un script CLI que no es de confianza, no implementa correctamente el mecanismo de protección azProhibitedFunctions y, en su lugar, permite funciones UDF como WRITEFILE.","source":"nvd"}],"published":"2022-12-12T00:00:00.000Z","modified":"2026-10-14T19:16:55.133Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.3,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.37.0","fixed":"3.40.1"}],"vendor":"sqlite","product":"sqlite","cpe":"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.37.0","status":"affected","fixed":"3.40.1"}],"ecosystem":"Bitnami","package":"sqlite","purl":"pkg:bitnami/sqlite","source":"bitnami"}],"references":[{"url":"https://news.ycombinator.com/item?id=33948588","tags":["advisory","exploit","issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://sqlite.org/forum/forumpost/07beac8056151b2f","tags":["advisory","exploit","issue-tracking","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://sqlite.org/src/info/cefc032473ac5ad2","tags":["advisory","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20230203-0005/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202311-03","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-556635.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46908","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-23T13:29:30.268Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-46908","url":"https://www.cve.org/CVERecord?id=CVE-2022-46908","licence":"CVE Terms of Use","modified":"2026-10-14T18:35:37.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-46908","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46908","licence":"Public domain","modified":"2026-10-14T19:16:55.133Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SQLITE-2022-46908","url":"https://osv.dev/vulnerability/BIT-SQLITE-2022-46908","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.483Z"}],"updatedAt":"2026-11-25T22:58:17.351Z","epss":{"score":0.00407,"percentile":0.26639,"date":"2026-11-30T12:00:22.000Z"}}