pocketmine/pocketmine-mp
Affected
- introduced
0, fixed4.7.2(ecosystem)
Fixed versions
4.7.2
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2022-51009
PocketMine-MP invalid skin geometry JSON data leading to server crash
Impactpocketmine\entity\Skin doesn't correctly handle errors produced by adhocore/json-comment, which throws RuntimeException rather than returning false as PocketMine-MP expects.
This leads to a server crash if the skin geometry data is invalid for some reason (e.g. a syntax error).
Patches
c9626c610b8f6810c8c987559c9197b2a291f0bb
Workarounds
A plugin could handle LoginPacket and PlayerSkinPacket to verify the skin geometry data can be parsed correctly, so that the error condition in the core code is never reached.
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0, fixed 4.7.2 (ecosystem)4.7.2
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0