{"answers":{"affected":"10 open source packages ship an affected version, including silverstripe/graphql. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40180 in the wild and no public exploit code.","fix":"Upgrade silverstripe/graphql to a fixed version for your release line: 3.8.2, 4.1.3, 4.2.5 or 4.3.4.","what":"CVE-2023-40180 is a high-severity denial of service vulnerability in silverstripe-graphql, published on 16 Oct 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-40180 and fix it if it is affected.\n\nWhat it is: CVE-2023-40180 is a high-severity denial of service vulnerability in silverstripe-graphql, published on 16 Oct 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-40180 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- silverstripe/graphql (Packagist): affected from 3.0.0; fixed in 3.8.2\n- silverstripe/graphql (Packagist): affected from 3.0.0; fixed in 3.8.2\n- silverstripe/graphql (Packagist): affected from 4.0.0; fixed in 4.1.3\n- silverstripe/graphql (Packagist): affected from 4.0.0; fixed in 4.1.3\n- silverstripe/graphql (Packagist): affected from 4.2.0; fixed in 4.2.5\n- silverstripe/graphql (Packagist): affected from 4.2.0; fixed in 4.2.5\n- silverstripe/graphql (Packagist): affected from 4.3.0; fixed in 4.3.4\n- silverstripe/graphql (Packagist): affected from 4.3.0; fixed in 4.3.4\n- silverstripe/graphql (Packagist): affected from 5.0.0; fixed in 5.0.3\n- silverstripe/graphql (Packagist): affected from 5.0.0; fixed in 5.0.3\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-40180/ (Markdown: https://insights.sbomify.com/CVE-2023-40180/index.md)","id":"CVE-2023-40180","markdown":"https://insights.sbomify.com/CVE-2023-40180/index.md","name":"CVE-2023-40180","record":{"aliases":["GHSA-v23w-pppm-jh66"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Silverstripe GraphQL plugin","requires_auth":"none","summary":"Attackers can cause denial of service on Silverstripe websites via recursive GraphQL queries, particularly affecting sites with public schemas.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"graphql","vendor":"silverstripe"}],"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-400","name":"Uncontrolled Resource Consumption"}],"description":"silverstripe-graphql is a package which serves Silverstripe data in GraphQL representations. An attacker could use a recursive graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed graphql schemas. If your Silverstripe CMS project does not expose a public facing graphql schema, a user account is required to trigger the DDOS attack. If your site is hosted behind a content delivery network (CDN), such as Imperva or CloudFlare, this may further mitigate the risk. This issue has been addressed in versions 3.8.2, 4.1.3, 4.2.5, 4.3.4, and 5.0.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of service vulnerability in silverstripe-graphql via recursive queries","id":"CVE-2023-40180","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":10,"n_references":5,"next":{"headline":"Integer-Underflow leading to Out-Of-Bound Read in FreeRDP","id":"CVE-2023-40181"},"packages":[{"ecosystem":"Packagist","fixed":["3.8.2"],"introduced":["3.0.0"],"last_affected":[],"package":"silverstripe/graphql","purl":null,"source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["3.8.2"],"introduced":["3.0.0"],"last_affected":[],"package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["4.1.3"],"introduced":["4.0.0"],"last_affected":[],"package":"silverstripe/graphql","purl":null,"source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["4.1.3"],"introduced":["4.0.0"],"last_affected":[],"package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["4.2.5"],"introduced":["4.2.0"],"last_affected":[],"package":"silverstripe/graphql","purl":null,"source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["4.2.5"],"introduced":["4.2.0"],"last_affected":[],"package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["4.3.4"],"introduced":["4.3.0"],"last_affected":[],"package":"silverstripe/graphql","purl":null,"source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["4.3.4"],"introduced":["4.3.0"],"last_affected":[],"package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"silverstripe/graphql","purl":null,"source":"GHSA-v23w-pppm-jh66"},{"ecosystem":"Packagist","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"GHSA-v23w-pppm-jh66"}],"prev":{"headline":"Silverware Games vulnerable to account enumeration via inconsistent responses","id":"CVE-2023-40179"},"products":["silverstripe-graphql"],"published":"2023-10-16","related":[{"cvss_score":7.5,"headline":"silverstripe/graphql Denial of Service vulnerability","id":"CVE-2023-28104","kev_date_added":null,"published":"2023-03-16"},{"cvss_score":5.3,"headline":"Silverstripe GraqhQL's view permissions are bypassed for paginated lists of ORM data","id":"CVE-2023-44401","kev_date_added":null,"published":"2024-01-23"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-16","vendors":["silverstripe"]},"summary":"Attackers can cause denial of service on Silverstripe websites via recursive GraphQL queries, particularly affecting sites with public schemas.","url":"https://insights.sbomify.com/CVE-2023-40180/"}