PT-2022-28241
Published
2022-03-18
·
Updated
2022-03-18
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
PocketMine-MP versions prior to 3.18.1
Description
A malicious client can send a
MovePlayerPacket to the server with position or rotation containing NaN or INF, causing various side effects. The server may crash due to PHP warnings converted into exceptions from mathematical operations on NaN/INF. Clients may not be able to see other clients with NaN/INF rotation and may also crash in such cases.Recommendations
For versions prior to 3.18.1, update to version 3.18.1 to resolve the issue.
As a temporary workaround, consider implementing a plugin using
DataPacketReceiveEvent to block any inbound movement packets containing bogus values. Found an issue in the description? Have something to add? Feel free to write us 👾