Resource Exhaustion Affecting pocketmine/pocketmine-mp package, versions <5.11.2


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-POCKETMINEPOCKETMINEMP-6413102
  • published 7 Mar 2024
  • disclosed 6 Mar 2024
  • credit GameParrot

Introduced: 6 Mar 2024

CVE NOT AVAILABLE CWE-400 Open this link in a new tab

How to fix?

Upgrade pocketmine/pocketmine-mp to version 5.11.2 or higher.

Overview

pocketmine/pocketmine-mp is a highly customisable, open source server software for Minecraft: Bedrock Edition written in PHP

Affected versions of this package are vulnerable to Resource Exhaustion due to an unhandled exception thrown by BaseInventory->getItem() when a client sends a BookEditPacket with InventorySlot greater than 35. An attacker can cause the server to crash by sending a specially crafted packet.

PoC


serverConn.WritePacket(&packet.BookEdit{InventorySlot: 36})