{"answers":{"affected":"4 open source packages ship an affected version, including pocketmine/raklib.","exploited":"There is no known exploitation of GHSA-w98g-5fmx-wm4x in the wild and no public exploit code.","fix":"Upgrade pocketmine/raklib to a fixed version for your release line: 0.14.6 or 0.15.1.","what":"GHSA-w98g-5fmx-wm4x is a denial of service vulnerability in pocketmine/raklib, published on 15 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-w98g-5fmx-wm4x and fix it if it is affected.\n\nWhat it is: GHSA-w98g-5fmx-wm4x is a denial of service vulnerability in pocketmine/raklib, published on 15 Nov 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 GHSA-w98g-5fmx-wm4x in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pocketmine/raklib (Packagist): affected from 0.14.0; fixed in 0.14.6\n- pocketmine/raklib (Packagist): affected from 0.14.0; fixed in 0.14.6\n- pocketmine/raklib (Packagist): affected from 0.15.0; fixed in 0.15.1\n- pocketmine/raklib (Packagist): affected from 0.15.0; fixed in 0.15.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/GHSA-w98g-5fmx-wm4x/ (Markdown: https://insights.sbomify.com/GHSA-w98g-5fmx-wm4x/index.md)","id":"GHSA-w98g-5fmx-wm4x","markdown":"https://insights.sbomify.com/GHSA-w98g-5fmx-wm4x/index.md","name":"GHSA-w98g-5fmx-wm4x","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP Raklib library","requires_auth":"none","summary":"A malicious client can exhaust server memory by sending incomplete reliable-ordered packet sequences, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nA client can send reliable-ordered packets 0, 2, 3, 4, 5 ... etc, and all the packets 2 and up will stay in the reliable-ordered queue until 1 arrives. A malicious client can exploit this to waste all available server memory by simply never sending the missing packet. Since the server doesn't make any effort to limit the size of the queue or detect this kind of abuse, this problem is easy to abuse.\n\n### Patches\nThis bug was fixed on the 0.14.x and 0.15.x release lines by 371190f5854372154d1b263cd2a10e658e92bebe.\n\n### Workarounds\nNo workaround is known.","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory","id":"GHSA-w98g-5fmx-wm4x","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["0.14.6"],"introduced":["0.14.0"],"last_affected":[],"package":"pocketmine/raklib","purl":null,"source":"GHSA-w98g-5fmx-wm4x"},{"ecosystem":"Packagist","fixed":["0.14.6"],"introduced":["0.14.0"],"last_affected":[],"package":"pocketmine/raklib","purl":"pkg:composer/pocketmine/raklib","source":"GHSA-w98g-5fmx-wm4x"},{"ecosystem":"Packagist","fixed":["0.15.1"],"introduced":["0.15.0"],"last_affected":[],"package":"pocketmine/raklib","purl":null,"source":"GHSA-w98g-5fmx-wm4x"},{"ecosystem":"Packagist","fixed":["0.15.1"],"introduced":["0.15.0"],"last_affected":[],"package":"pocketmine/raklib","purl":"pkg:composer/pocketmine/raklib","source":"GHSA-w98g-5fmx-wm4x"}],"products":null,"published":"2023-11-15","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A malicious client can exhaust server memory by sending incomplete reliable-ordered packet sequences, causing a denial of service.","url":"https://insights.sbomify.com/GHSA-w98g-5fmx-wm4x/"}