Description
PocketMine-MP versions before 5.39.2 fail to validate entity despawn state when processing attack packets from clients. Attackers can exploit a race condition by attacking a disconnecting player to trigger multiple death handlers, causing inventory items and experience to drop multiple times for duplication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pmmp | PocketMine-MP | < 5.39.2 | 5.39.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | pocketmine/pocketmine-mp | < 5.39.2 | 5.39.2 | GHSA-f9jp-856v-8642 |
References
- GitHub Security Advisory (GHSA-f9jp-856v-8642) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: PocketMine-MP before 5.39.2 Item Duplication via Despawn State third-party-advisory