7.1high
PocketMine-MP before 4.2.3 Denial of Service via NBT Metadata
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.53% (higher than 38% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-46c5-pfj8-fv65
Description
PocketMine-MP versions before 4.2.3 fail to validate damage metadata values in tool and armor item NBT data received from clients. Attackers can send negative or out-of-range damage values in itemstack NBT to trigger unhandled exceptions in the Durable class, causing server crashes.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pmmp PocketMine-MP | before 4.2.3 Not affected: 4.2.3 | CVE List |
| pocketmine/pocketmine-mp (Packagist) | before 4.2.4 | GitHub Advisory Database |
All scores
| VulnCheck | 7.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
PocketMine-MP versions before 4.2.3 fail to validate damage metadata values in tool and armor item NBT data received from clients. Attackers can send negative or out-of-range damage values in itemstack NBT to trigger unhandled exceptions in the Durable class, causing server crashes.
GitHub Advisory Database
Impact
Due to a workaround applied in 1.13, an attacker may send a negative damage/meta value in a tool or armour item's NBT, which TypeConverter then blindly uses as if it was valid without being checked.
When this invalid metadata value reaches Durable->setDamage(), an exception is thrown because the metadata is not within the expected range for damage values.
This can be reproduced with either a too-large damage value, or a negative one.
Patches
c8e1cfcbee4945fd4b63d2a7e96025c59744d4f1
Workarounds
In theory this can be checked by plugins using a custom TypeConverter, but this is likely to be very cumbersome.
For more information
- Email us at team@pmmp.io
NVD (es)
Las versiones de PocketMine-MP anteriores a la 4.2.3 no validan los valores de metadatos de daño en los datos NBT de ítems de herramientas y armaduras recibidos de los clientes. Los atacantes pueden enviar valores de daño negativos o fuera de rango en el NBT del itemstack para provocar excepciones no controladas en la clase Durable, lo que causa caídas del servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-51013 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-46c5-pfj8-fv65 changed 2026-09-08 | CC-BY-4.0 |
| NVD | CVE-2022-51013 changed 2026-11-10 | Public domain |