Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pocketmine/pocketmine-mp
  4. ›
  5. GMS-2022-1456

GMS-2022-1456: Denial-of-service vulnerability processing large chat messages containing many newlines

May 25, 2022

Impact

PocketMine-MP caps maximum chat message length at 512 Unicode characters, or about 2048 bytes. No more than 2 chat messages may be sent per tick. However, due to legacy reasons, incoming chat message blobs are split by ``, and each part is treated as a separate message, the length of each part is individually checked.

References

  • github.com/advisories/GHSA-gj94-v4p9-w672
  • github.com/pmmp/PocketMine-MP/security/advisories/GHSA-gj94-v4p9-w672

Code Behaviors & Features

Detect and mitigate GMS-2022-1456 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.2.10

Fixed versions

  • 4.2.10

Solution

Upgrade to version 4.2.10 or above.

Source file

packagist/pocketmine/pocketmine-mp/GMS-2022-1456.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.