{"answers":{"affected":"1 open source package ship an affected version, including sqlite. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-7104 exists.","fix":"Upgrade sqlite to 3.43.1 or later.","what":"CVE-2023-7104 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 25 Dec 2023. 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-2023-7104 and fix it if it is affected.\n\nWhat it is: CVE-2023-7104 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 25 Dec 2023. 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-2023-7104 exists.\n\nAffected packages and fixed versions:\n- sqlite (Bitnami): affected all versions; fixed in 3.43.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-2023-7104/ (Markdown: https://insights.sbomify.com/CVE-2023-7104/index.md)","id":"CVE-2023-7104","markdown":"https://insights.sbomify.com/CVE-2023-7104/index.md","name":"CVE-2023-7104","record":{"aliases":["ALPINE-CVE-2023-7104","ALSA-2024:0253","ALSA-2024:0465","AZL-32297","BELL-CVE-2023-7104","BIT-sqlite-2023-7104","CLSA-2024-1706215424","CLSA-2024-1707419637","CLSA-2024-1707917992","CLSA-2024-1707918214","DEBIAN-CVE-2023-7104","GHSA-f92h-rw3f-8j92","OESA-2024-1058","OESA-2024-1063","RHSA-2024:0253","RHSA-2024:0465","RHSA-2024:0589","RHSA-2024:1081","RHSA-2024:1107","RLSA-2024:0253","RLSA-2024:0465","UBUNTU-CVE-2023-7104","USN-6566-2"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SQLite database library","requires_auth":"low_privilege","summary":"A heap-based buffer overflow in SQLite's session extension allows attackers to execute arbitrary code or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"sqlite","vendor":"sqlite"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-248999.","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","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::baseos","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"SQLite SQLite3 make alltest sqlite3session.c sessionReadRecord heap-based overflow","id":"CVE-2023-7104","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","sqlite:sqlite"],"type":"memory_corruption","year":"2023"},"n_packages":98,"n_references":7,"next":{"headline":"code-projects E-Commerce Website index_search.php sql injection","id":"CVE-2023-7105"},"packages":[{"ecosystem":"Bitnami","fixed":["3.43.1"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:bitnami/sqlite","source":"BIT-sqlite-2023-7104"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"lemon","purl":"pkg:rpm/almalinux/lemon","source":"ALSA-2024:0253"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/almalinux/sqlite","source":"ALSA-2024:0253"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/almalinux/sqlite-devel","source":"ALSA-2024:0253"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-doc","purl":"pkg:rpm/almalinux/sqlite-doc","source":"ALSA-2024:0253"},{"ecosystem":"AlmaLinux:8","fixed":["3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/almalinux/sqlite-libs","source":"ALSA-2024:0253"},{"ecosystem":"AlmaLinux:9","fixed":["3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/almalinux/sqlite","source":"ALSA-2024:0465"},{"ecosystem":"AlmaLinux:9","fixed":["3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/almalinux/sqlite-devel","source":"ALSA-2024:0465"},{"ecosystem":"AlmaLinux:9","fixed":["3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/almalinux/sqlite-libs","source":"ALSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"lemon","purl":"pkg:rpm/redhat/lemon","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/redhat/sqlite-devel","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-doc","purl":"pkg:rpm/redhat/sqlite-doc","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/redhat/sqlite-libs","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.26.0-19.el8_9"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2024:0253"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/redhat/sqlite-devel","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-tools-debuginfo","purl":"pkg:rpm/redhat/sqlite-tools-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2024:0465"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.34.1-7.el9_3"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2024:0465"}],"prev":{"headline":"Authentication Bypass in ZKSoftware's UFace 5","id":"CVE-2023-7103"},"products":["SQLite3"],"published":"2023-12-25","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"Red Hat","prefix":"RHSA"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["SQLite"]},"summary":"A heap-based buffer overflow in SQLite's session extension allows attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2023-7104/"}