{"answers":{"affected":"1 open source package ship an affected version, including sqlite. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46908 exists.","fix":"Upgrade sqlite to 3.40.1 or later.","what":"CVE-2022-46908 is a high-severity vulnerability in Sqlite Sqlite, published on 12 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-46908 and fix it if it is affected.\n\nWhat it is: CVE-2022-46908 is a high-severity vulnerability in Sqlite Sqlite, published on 12 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46908 exists.\n\nAffected packages and fixed versions:\n- sqlite (Bitnami): affected from 3.37.0; fixed in 3.40.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-46908/ (Markdown: https://insights.sbomify.com/CVE-2022-46908/index.md)","id":"CVE-2022-46908","markdown":"https://insights.sbomify.com/CVE-2022-46908/index.md","name":"CVE-2022-46908","record":{"aliases":["AZL-11586","BELL-CVE-2022-46908","BIT-sqlite-2022-46908","DEBIAN-CVE-2022-46908","GHSA-993x-6558-2xmj","MGASA-2023-0094","OESA-2022-2146","OESA-2023-1219","SUSE-SU-2022:4603-1","SUSE-SU-2022:4628-1","SUSE-SU-2023:1295-1","SUSE-SU-2023:2668-1","UBUNTU-CVE-2022-46908","openSUSE-SU-2024:12574-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"SQLite database library","requires_auth":"low_privilege","summary":"SQLite fails to enforce prohibited function restrictions in safe mode, allowing attackers to execute arbitrary file writes via UDFs.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sqlite","vendor":"sqlite"}],"cvss":{"score":7.3,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[],"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.","ecosystems":["Bitnami","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP4-ESPOS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Leap Micro 5.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Security feature bypass in n/a","id":"CVE-2022-46908","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"sqlite:sqlite","products":["sqlite:sqlite"],"type":"security_feature_bypass","year":"2022"},"n_packages":34,"n_references":5,"next":{"headline":"File upload in n/a","id":"CVE-2022-46910"},"packages":[{"ecosystem":"Bitnami","fixed":["3.40.1"],"introduced":["3.37.0"],"last_affected":[],"package":"sqlite","purl":"pkg:bitnami/sqlite","source":"BIT-sqlite-2022-46908"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2023:2668-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-ESPOS","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOS","source":"SUSE-SU-2023:2668-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2023:2668-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:4603-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2023:2668-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:4603-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2022:4603-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:1295-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2023:2668-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["3.39.3-9.26.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/suse/sqlite3\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2023:2668-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/opensuse/sqlite3\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/opensuse/sqlite3\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"openSUSE:Leap Micro 5.2","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/opensuse/sqlite3\u0026distro=openSUSE%20Leap%20Micro%205.2","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["3.39.3-150000.3.20.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/opensuse/sqlite3\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2022:4628-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.40.0-2.1"],"introduced":["0"],"last_affected":[],"package":"sqlite3","purl":"pkg:rpm/opensuse/sqlite3\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12574-1"}],"prev":{"headline":"Apache JSPWiki: XSS Injection points in several plugins","id":"CVE-2022-46907"},"products":["n/a"],"published":"2022-12-12","related":[{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2015-5895","kev_date_added":null,"published":"2015-09-18"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-10989","kev_date_added":null,"published":"2017-07-07"},{"cvss_score":8.5,"headline":"SQLite before 3.53.2 Memory Corruption in FTS5 Extension","id":"CVE-2026-11822","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":8.5,"headline":"SQLite before 3.53.2 Heap Buffer Overflow via FTS5 fts5ChunkIterate","id":"CVE-2026-11824","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2025-70873","kev_date_added":null,"published":"2026-03-12"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2021-31239","kev_date_added":null,"published":"2023-05-09"},{"cvss_score":7.5,"headline":"Null dereference in sqlite","id":"CVE-2020-35525","kev_date_added":null,"published":"2022-09-01"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"SQLite fails to enforce prohibited function restrictions in safe mode, allowing attackers to execute arbitrary file writes via UDFs.","url":"https://insights.sbomify.com/CVE-2022-46908/"}