{"answers":{"affected":"4 open source packages ship an affected version, including libsqlite3-sys and sqlite. It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-35737 exists.","fix":"Upgrade libsqlite3-sys to 0.25.1 or later.","what":"CVE-2022-35737 is a high-severity vulnerability in Netapp Ontap Select Deploy Administration Utility, published on 3 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-35737 and fix it if it is affected.\n\nWhat it is: CVE-2022-35737 is a high-severity vulnerability in Netapp Ontap Select Deploy Administration Utility, published on 3 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-35737 exists.\n\nAffected packages and fixed versions:\n- libsqlite3-sys (crates.io): affected all versions; fixed in 0.25.1\n- libsqlite3-sys (crates.io): affected all versions; fixed in 0.25.1\n- libsqlite3-sys (crates.io): affected from 0.0.0-0; fixed in 0.25.1\n- sqlite (Bitnami): affected from 1.0.12; fixed in 3.39.2\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-35737/ (Markdown: https://insights.sbomify.com/CVE-2022-35737/index.md)","id":"CVE-2022-35737","markdown":"https://insights.sbomify.com/CVE-2022-35737/index.md","name":"CVE-2022-35737","record":{"aliases":["ALSA-2023:0110","ALSA-2023:0339","AZL-10467","BIT-sqlite-2022-35737","CLSA-2022-1668116271","CLSA-2022-1668118023","CLSA-2022-1668121215","CLSA-2022-1668122377","CLSA-2022-1668468398","CLSA-2023-1698946014","DEBIAN-CVE-2022-35737","GHSA-jw36-hf63-69r9","MGASA-2022-0273","OESA-2022-1909","RHSA-2023:0110","RHSA-2023:0339","RLSA-2023:0110","RLSA-2023:0339","ROOT-OS-DEBIAN-11-CVE-2022-35737","RUSTSEC-2022-0090","UBUNTU-CVE-2022-35737","USN-5712-1","USN-5716-1","USN-5716-2","openSUSE-SU-2024:12210-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SQLite database library","requires_auth":"none","summary":"An attacker can cause a denial of service via array-bounds overflow in SQLite when processing extremely large string arguments.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"universal_forwarder","vendor":"splunk"},{"product":"sqlite","vendor":"sqlite"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"description":"SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Rocky Linux:8","Rocky Linux:9","crates.io","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2022-10-24","github_poc":2,"max_poc_stars":12,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-10-24T15:36:44Z","kind":"github_poc","ref":"https://github.com/gmh5225/CVE-2022-35737","stars":12,"title":"Stranger strings: CVE-2022-35737"},{"date":"2023-02-21T20:07:45Z","kind":"github_poc","ref":"https://github.com/rvermeulen/codeql-cve-2022-35737","stars":1,"title":"A CodeQL query to find CVE 2022-35737"}],"tier":"weaponised"},"has_fix":true,"headline":"`libsqlite3-sys` via C SQLite improperly validates array index","id":"CVE-2022-35737","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"netapp:ontap_select_deploy_administration_utility","products":["netapp:ontap_select_deploy_administration_utility","splunk:universal_forwarder","sqlite:sqlite"],"type":"integer_overflow","year":"2022"},"n_packages":50,"n_references":6,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-35739"},"packages":[{"ecosystem":"Bitnami","fixed":["3.39.2"],"introduced":["1.0.12"],"last_affected":[],"package":"sqlite","purl":"pkg:bitnami/sqlite","source":"BIT-sqlite-2022-35737"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0"],"last_affected":[],"package":"libsqlite3-sys","purl":null,"source":"GHSA-jw36-hf63-69r9"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0"],"last_affected":[],"package":"libsqlite3-sys","purl":"pkg:cargo/libsqlite3-sys","source":"GHSA-jw36-hf63-69r9"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0.0.0-0"],"last_affected":[],"package":"libsqlite3-sys","purl":"pkg:cargo/libsqlite3-sys","source":"RUSTSEC-2022-0090"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"lemon","purl":"pkg:rpm/almalinux/lemon","source":"ALSA-2023:0110"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/almalinux/sqlite","source":"ALSA-2023:0110"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/almalinux/sqlite-devel","source":"ALSA-2023:0110"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-doc","purl":"pkg:rpm/almalinux/sqlite-doc","source":"ALSA-2023:0110"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/almalinux/sqlite-libs","source":"ALSA-2023:0110"},{"ecosystem":"AlmaLinux:9","fixed":["3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/almalinux/sqlite","source":"ALSA-2023:0339"},{"ecosystem":"AlmaLinux:9","fixed":["3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/almalinux/sqlite-devel","source":"ALSA-2023:0339"},{"ecosystem":"AlmaLinux:9","fixed":["3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/almalinux/sqlite-libs","source":"ALSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"lemon","purl":"pkg:rpm/redhat/lemon","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/redhat/sqlite-devel","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-doc","purl":"pkg:rpm/redhat/sqlite-doc","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/redhat/sqlite-libs","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-17.el8_7"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2023:0110"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/redhat/sqlite-devel","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite-tools-debuginfo","purl":"pkg:rpm/redhat/sqlite-tools-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2023:0339"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2023:0339"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2022-35736"},"products":["n/a"],"published":"2022-08-03","related":[{"cvss_score":9.8,"headline":"Memory corruption in sqlite","id":"CVE-2020-35527","kev_date_added":null,"published":"2022-09-01"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-11656","kev_date_added":null,"published":"2020-04-09"},{"cvss_score":9.8,"headline":"Code injection in ONTAP Select Deploy administration utility","id":"CVE-2019-5509","kev_date_added":null,"published":"2019-11-21"},{"cvss_score":9.8,"headline":"Missing authorization in ONTAP Select Deploy administration utility","id":"CVE-2019-5504","kev_date_added":null,"published":"2019-09-24"},{"cvss_score":9.8,"headline":"Information disclosure in ONTAP Select Deploy administration utility","id":"CVE-2019-5505","kev_date_added":null,"published":"2019-09-24"},{"cvss_score":8.1,"headline":"Privilege Escalation Vulnerability in ONTAP Select Deploy administration utility","id":"CVE-2024-21989","kev_date_added":null,"published":"2024-04-17"},{"cvss_score":7.8,"headline":"Use After Free in vim/vim","id":"CVE-2022-4292","kev_date_added":null,"published":"2022-12-05"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"An attacker can cause a denial of service via array-bounds overflow in SQLite when processing extremely large string arguments.","url":"https://insights.sbomify.com/CVE-2022-35737/"}