{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-35012 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-35012 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-35012 is a medium-severity memory corruption vulnerability in Ibm Db2, published on 17 Jul 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-35012 and fix it if it is affected.\n\nWhat it is: CVE-2023-35012 is a medium-severity memory corruption vulnerability in Ibm Db2, published on 17 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-35012 in the wild and no public exploit code.\n\nAffected product: Ibm Db2. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-35012/ (Markdown: https://insights.sbomify.com/CVE-2023-35012/index.md)","id":"CVE-2023-35012","markdown":"https://insights.sbomify.com/CVE-2023-35012/index.md","name":"CVE-2023-35012","record":{"aliases":["GHSA-qhgj-ghq2-5hjh"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"IBM Db2 database","requires_auth":"high_privilege","summary":"A local user with SYSADM privileges can execute arbitrary code via a stack-based buffer overflow in IBM Db2 when Federated configuration is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"db2","vendor":"ibm"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) 11.5 with a Federated configuration is vulnerable to a stack-based buffer overflow, caused by improper bounds checking.  A local user with SYSADM privileges could overflow the buffer and execute arbitrary code on the system.  IBM X-Force ID:  257763.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"IBM Db2 code execution","id":"CVE-2023-35012","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ibm:db2","products":["ibm:db2"],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"IBM Security Verify Governance information disclosure","id":"CVE-2023-35013"},"packages":[],"prev":{"headline":"IBM Cognos Analytics server-side request forgey","id":"CVE-2023-35011"},"products":["Db2 for Linux, UNIX and Windows"],"published":"2023-07-17","related":[{"cvss_score":10,"headline":"IBM DB2 9.5 uses world-writable permissions for nodes.reg, which has unspecified impact and attack vectors.","id":"CVE-2012-1797","kev_date_added":null,"published":"2012-03-20"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2010-3731","kev_date_added":null,"published":"2010-10-05"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2010-3193","kev_date_added":null,"published":"2010-08-31"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2009-4335","kev_date_added":null,"published":"2009-12-16"},{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2009-3473","kev_date_added":null,"published":"2009-09-29"},{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2008-6820","kev_date_added":null,"published":"2009-06-03"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-6821","kev_date_added":null,"published":"2009-06-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-05","vendors":["IBM"]},"summary":"A local user with SYSADM privileges can execute arbitrary code via a stack-based buffer overflow in IBM Db2 when Federated configuration is enabled.","url":"https://insights.sbomify.com/CVE-2023-35012/"}