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 applicationsUpgrade pocketmine/pocketmine-mp
to version 4.2.4 or higher.
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 Incorrect Type Conversion due to improper metadata value check on tools/armour itemstacks received from the client, which TypeConverter
then blindly uses as if it was valid. When this invalid metadata value reaches Durable->setDamage()
, an exception is thrown because the metadata is not within the expected range for damage values.