Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS13OThnLTVmbXgtd200eM4AA3Mk

pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory

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.

Permalink: https://github.com/advisories/GHSA-w98g-5fmx-wm4x
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13OThnLTVmbXgtd200eM4AA3Mk
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 year ago
Updated: about 1 year ago


CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Identifiers: GHSA-w98g-5fmx-wm4x
References: Repository: https://github.com/pmmp/RakLib
Blast Radius: 11.5

Affected Packages

packagist:pocketmine/raklib
Dependent packages: 6
Dependent repositories: 150
Downloads: 421,188 total
Affected Version Ranges: >= 0.15.0, < 0.15.1, >= 0.14.0, < 0.14.6
Fixed in: 0.15.1, 0.14.6
All affected versions: 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.15.0
All unaffected versions: 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5, 0.12.6, 0.12.7, 0.12.8, 0.12.9, 0.12.10, 0.12.11, 0.12.12, 0.13.0, 0.13.1, 0.14.6, 0.15.1, 1.0.0, 1.1.0, 1.1.1