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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-POCKETMINEPOCKETMINEMP-6413102
  • published7 Mar 2024
  • disclosed6 Mar 2024
  • creditGameParrot

Introduced: 6 Mar 2024

CVE NOT AVAILABLE CWE-400  (opens 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})

CVSS Scores

version 3.1