{"answers":{"affected":"It affects 9 products.","exploited":"There is no known exploitation of CVE-2023-40308 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40308 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40308 is a high-severity memory corruption vulnerability in Sap Netweaver Application Server Abap, published on 12 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40308 and fix it if it is affected.\n\nWhat it is: CVE-2023-40308 is a high-severity memory corruption vulnerability in Sap Netweaver Application Server Abap, published on 12 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-40308 in the wild and no public exploit code.\n\nAffected product: Sap Netweaver Application Server Abap. 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-40308/ (Markdown: https://insights.sbomify.com/CVE-2023-40308/index.md)","id":"CVE-2023-40308","markdown":"https://insights.sbomify.com/CVE-2023-40308/index.md","name":"CVE-2023-40308","record":{"aliases":["GHSA-qr3g-7vmg-24hh"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP CommonCryptoLib","requires_auth":"none","summary":"An unauthenticated attacker can cause a denial of service by triggering memory corruption in SAP CommonCryptoLib via a crafted request.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"commoncryptolib","vendor":"sap"},{"product":"content_server","vendor":"sap"},{"product":"extended_application_services_and_runtime","vendor":"sap"},{"product":"hana_database","vendor":"sap"},{"product":"host_agent","vendor":"sap"},{"product":"netweaver_application_server_abap","vendor":"sap"},{"product":"netweaver_application_server_java","vendor":"sap"},{"product":"sapssoext","vendor":"sap"},{"product":"web_dispatcher","vendor":"sap"}],"cvss":{"score":7.5,"severity":"high","source":"cna","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-787","name":"Out-of-bounds Write"}],"description":"SAP CommonCryptoLib allows an unauthenticated attacker to craft a request, which when submitted to an open port causes a memory corruption error in a library which in turn causes the target component to crash making it unavailable. There is no ability to view or modify any information.","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":"Memory Corruption vulnerability in SAP CommonCryptoLib","id":"CVE-2023-40308","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_abap","products":["sap:netweaver_application_server_abap","sap:netweaver_application_server_java"],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Missing Authorization check in SAP CommonCryptoLib","id":"CVE-2023-40309"},"packages":[],"prev":{"headline":"Privileges Memory Corruption (Out-of-bound write)","id":"CVE-2023-40307"},"products":["SAP CommonCryptoLib","SAP Content Server","SAP Extended Application Services and Runtime (XSA)","SAP HANA Database","SAP Host Agent","SAP NetWeaver AS ABAP, SAP NetWeaver AS Java and ABAP Platform of S/4HANA on-premise","SAP Web Dispatcher","SAPSSOEXT"],"published":"2023-09-12","related":[{"cvss_score":9.8,"headline":"Missing Authorization check in SAP CommonCryptoLib","id":"CVE-2023-40309","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.5,"headline":"Null dereference in SAP CommonCryptoLib","id":"CVE-2021-38177","kev_date_added":null,"published":"2021-09-14"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2014-8587","kev_date_added":null,"published":"2014-11-04"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["SAP_SE"]},"summary":"An unauthenticated attacker can cause a denial of service by triggering memory corruption in SAP CommonCryptoLib via a crafted request.","url":"https://insights.sbomify.com/CVE-2023-40308/"}