{"answers":{"affected":"2 open source packages ship an affected version, including org.xerial:sqlite-jdbc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32697 in the wild and no public exploit code.","fix":"Upgrade org.xerial:sqlite-jdbc to 3.41.2.2 or later.","what":"CVE-2023-32697 is a high-severity code injection vulnerability in xerial sqlite-jdbc, published on 23 May 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-32697 and fix it if it is affected.\n\nWhat it is: CVE-2023-32697 is a high-severity code injection vulnerability in xerial sqlite-jdbc, published on 23 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-32697 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.xerial:sqlite-jdbc (Maven): affected from 3.6.14.1; fixed in 3.41.2.2\n- org.xerial:sqlite-jdbc (Maven): affected from 3.6.14.1; fixed in 3.41.2.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-2023-32697/ (Markdown: https://insights.sbomify.com/CVE-2023-32697/index.md)","id":"CVE-2023-32697","markdown":"https://insights.sbomify.com/CVE-2023-32697/index.md","name":"CVE-2023-32697","record":{"aliases":["DEBIAN-CVE-2023-32697","GHSA-6phf-6h5g-97j2","OESA-2023-1792","UBUNTU-CVE-2023-32697"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SQLite JDBC library","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code if they control the JDBC URL used by applications relying on the SQLite JDBC library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sqlite_jdbc","vendor":"sqlite_jdbc_project"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"SQLite JDBC is a library for accessing and creating SQLite database files in Java. Sqlite-jdbc addresses a remote code execution vulnerability via JDBC URL. This issue impacting versions 3.6.14.1 through 3.41.2.1 and has been fixed in version 3.41.2.2.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-17","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-17T13:23:05Z","kind":"github_poc","ref":"https://github.com/shoucheng3/xerial__sqlite-jdbc_CVE-2023-32697_3-41-2-1","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Sqlite-jdbc vulnerable to remote code execution when JDBC url is attacker controlled","id":"CVE-2023-32697","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"nfpm vulnerable to Incorrect Default Permissions","id":"CVE-2023-32698"},"packages":[{"ecosystem":"Maven","fixed":["3.41.2.2"],"introduced":["3.6.14.1"],"last_affected":[],"package":"org.xerial:sqlite-jdbc","purl":null,"source":"GHSA-6phf-6h5g-97j2"},{"ecosystem":"Maven","fixed":["3.41.2.2"],"introduced":["3.6.14.1"],"last_affected":[],"package":"org.xerial:sqlite-jdbc","purl":"pkg:maven/org.xerial/sqlite-jdbc","source":"GHSA-6phf-6h5g-97j2"}],"prev":{"headline":"Excessive permissions for ckan user","id":"CVE-2023-32696"},"products":["sqlite-jdbc"],"published":"2023-05-23","related":[],"sources":[{"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":"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-05","vendors":["xerial"]},"summary":"Attackers can execute arbitrary code if they control the JDBC URL used by applications relying on the SQLite JDBC library.","url":"https://insights.sbomify.com/CVE-2023-32697/"}