GHSA-w98g-5fmx-wm4x: Pocketmine/raklib Pocketmine/raklib Reliable-ordered Queue Size Is Vulnerability
MODERATEGHSA-w98g-5fmx-wm4x is a MODERATE (CVSS 5.3) pocketmine/raklib reliable-ordered queue size is vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Pocketmine/raklib libraries in the Packagist ecosystem. The issue involves pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory. Remediation is available by upgrading affected packages to version 0.14.6, 0.15.1.
GHSA-w98g-5fmx-wm4x at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix GHSA-w98g-5fmx-wm4x
To remediate this vulnerability, upgrade all affected Pocketmine/raklib dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pocketmine/raklib to 0.14.6
Upgrade pocketmine/raklib to 0.15.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pocketmine/raklib
How to Check if You Are Affected
To determine whether your application is affected by GHSA-w98g-5fmx-wm4x, inspect your project dependencies for Pocketmine/raklib:
inspect dependencies for pocketmine/raklib
Analyze the terminal output to locate any version of Pocketmine/raklib in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.14.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Pocketmine/raklib, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-w98g-5fmx-wm4x Affected Pocketmine/raklib Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pocketmine/raklib
|
Packagist |
≥ 0.14.0
< 0.14.6
|
0.14.6
|
|
pocketmine/raklib
|
Packagist |
≥ 0.15.0
< 0.15.1
|
0.15.1
|
References
Frequently Asked Questions
What is GHSA-w98g-5fmx-wm4x?
Which Pocketmine/raklib versions are affected?
What version fixes GHSA-w98g-5fmx-wm4x?
Is pocketmine/raklib affected?
What is the CVSS score of GHSA-w98g-5fmx-wm4x?
What CWE is associated with GHSA-w98g-5fmx-wm4x?
How can I check Packagist dependencies for GHSA-w98g-5fmx-wm4x?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w98g-5fmx-wm4x",
"modified" : "2023-11-15T18:42:38Z",
"published" : "2023-11-15T18:42:38Z",
"aliases" : [ ],
"summary" : "pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pocketmine/raklib"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.14.0"
}, {
"fixed" : "0.14.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "pocketmine/raklib"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.15.0"
}, {
"fixed" : "0.15.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pmmp/RakLib/security/advisories/GHSA-w98g-5fmx-wm4x"
}, {
"type" : "WEB",
"url" : "https://github.com/pmmp/RakLib/commit/371190f5854372154d1b263cd2a10e658e92bebe"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pmmp/RakLib"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-15T18:42:38Z",
"nvd_published_at" : null
}
}