Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/66573?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/66573?format=api", "purl": "pkg:composer/pocketmine/raklib@0.15.1", "type": "composer", "namespace": "pocketmine", "name": "raklib", "version": "0.15.1", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "0.14.6", "latest_non_vulnerable_version": "0.15.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18821?format=api", "vulnerability_id": "VCID-t2uu-tkkw-8qdx", "summary": "pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory\n### 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 does not 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.", "references": [ { "reference_url": "https://github.com/pmmp/RakLib/commit/371190f5854372154d1b263cd2a10e658e92bebe", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pmmp/RakLib/commit/371190f5854372154d1b263cd2a10e658e92bebe" }, { "reference_url": "https://github.com/advisories/GHSA-w98g-5fmx-wm4x", "reference_id": "GHSA-w98g-5fmx-wm4x", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-w98g-5fmx-wm4x" }, { "reference_url": "https://github.com/pmmp/RakLib/security/advisories/GHSA-w98g-5fmx-wm4x", "reference_id": "GHSA-w98g-5fmx-wm4x", "reference_type": "", "scores": [], "url": "https://github.com/pmmp/RakLib/security/advisories/GHSA-w98g-5fmx-wm4x" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/66572?format=api", "purl": "pkg:composer/pocketmine/raklib@0.14.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/pocketmine/raklib@0.14.6" }, { "url": "http://public2.vulnerablecode.io/api/packages/66573?format=api", "purl": "pkg:composer/pocketmine/raklib@0.15.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/pocketmine/raklib@0.15.1" } ], "aliases": [ "GHSA-w98g-5fmx-wm4x", "GMS-2023-4197" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t2uu-tkkw-8qdx" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/pocketmine/raklib@0.15.1" }