logo

GHSA-w98g-5fmx-wm4x pocketmine/raklib

Package

Manager: composer
Name: pocketmine/raklib
Vulnerable Version: >=0.14.0 <0.14.6 || >=0.15.0 <0.15.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

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.

Metadata

Created: 2023-11-15T18:42:38Z
Modified: 2023-11-15T18:42:38Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-w98g-5fmx-wm4x/GHSA-w98g-5fmx-wm4x.json
CWE IDs: ["CWE-400"]
Alternative ID: N/A
Finding: F067
Auto approve: 1