GHSA-w98g-5fmx-wm4x: Pocketmine/raklib Pocketmine/raklib Reliable-ordered Queue Size Is Vulnerability

MODERATE
CVSS 5.3
CWE-400
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-w98g-5fmx-wm4x
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Pocketmine/raklib
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (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.

pocketmine/raklib fixed: 0.14.6
Upgrade pocketmine/raklib to 0.14.6
pocketmine/raklib fixed: 0.15.1
Upgrade pocketmine/raklib to 0.15.1
Verify Direct and Transitive Dependencies

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

### Impact A 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. ### Patches This bug was fixed on the 0.14.x and 0.15.x release lines by 371190f5854372154d1b263cd2a10e658e92bebe. ### Workarounds No workaround is known.

GHSA-w98g-5fmx-wm4x Affected Pocketmine/raklib Versions

2 component(s)
Fixed Versions:
0.14.60.15.1
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?
GHSA-w98g-5fmx-wm4x is a security vulnerability in Pocketmine/raklib involving pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory under CWE-400: Uncontrolled Resource Consumption.
Which Pocketmine/raklib versions are affected?
Affected versions include releases prior to 0.14.6, 0.15.1 across affected packages: pocketmine/raklib.
What version fixes GHSA-w98g-5fmx-wm4x?
Upgrading to 0.14.6, 0.15.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pocketmine/raklib affected?
Yes, pocketmine/raklib is affected in releases prior to 0.14.6, 0.15.1. Upgrade your dependency to 0.14.6, 0.15.1 or later.
What is the CVSS score of GHSA-w98g-5fmx-wm4x?
GHSA-w98g-5fmx-wm4x has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with GHSA-w98g-5fmx-wm4x?
GHSA-w98g-5fmx-wm4x is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Packagist dependencies for GHSA-w98g-5fmx-wm4x?
Run the dependency tree command: 'inspect dependencies for pocketmine/raklib'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}