GHSA-w98g-5fmx-wm4x

Suggest an improvement
Source
https://github.com/advisories/GHSA-w98g-5fmx-wm4x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-w98g-5fmx-wm4x/GHSA-w98g-5fmx-wm4x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w98g-5fmx-wm4x
Published
2023-11-15T18:42:38Z
Modified
2024-11-28T05:40:45.141386Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-11-15T18:42:38Z"
}
References

Affected packages

Packagist / pocketmine/raklib

Package

Name
pocketmine/raklib
Purl
pkg:composer/pocketmine/raklib

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.14.0
Fixed
0.14.6

Affected versions

0.*

0.14.0
0.14.1
0.14.2
0.14.3
0.14.4
0.14.5

Packagist / pocketmine/raklib

Package

Name
pocketmine/raklib
Purl
pkg:composer/pocketmine/raklib

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.15.0
Fixed
0.15.1

Affected versions

0.*

0.15.0