{"id":"CVE-2022-51013","aliases":["CVE-2022-51013","GHSA-46c5-pfj8-fv65"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 4.2.3 Denial of Service via NBT Metadata","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nDue 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.\n\nWhen this invalid metadata value reaches `Durable->setDamage()`, an exception is thrown because the metadata is not within the expected range for damage values.\n\nThis can be reproduced with either a too-large damage value, or a negative one.\n\n### Patches\nc8e1cfcbee4945fd4b63d2a7e96025c59744d4f1\n\n### Workarounds\nIn theory this can be checked by plugins using a custom `TypeConverter`, but this is likely to be very cumbersome.\n\n### For more information\n* Email us at [team@pmmp.io](mailto:team@pmmp.io)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2022-03-18T22:36:03.000Z","modified":"2026-11-10T12:10:00.177Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-704"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.2.3","status":"affected"},{"type":"semver","version":"4.2.3","status":"unaffected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.4"}],"ecosystem":"Packagist","package":"pocketmine/pocketmine-mp","purl":"pkg:composer/pocketmine/pocketmine-mp","source":"ghsa"}],"references":[{"url":"https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-46c5-pfj8-fv65","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/c8e1cfcbee4945fd4b63d2a7e96025c59744d4f1","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-4.2.3-denial-of-service-via-nbt-metadata","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP","tags":["package"],"sources":["ghsa"]}],"credits":["JavierLeon9966"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-14T19:21:46.862Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51013","url":"https://www.cve.org/CVERecord?id=CVE-2022-51013","licence":"CVE Terms of Use","modified":"2026-10-08T15:20:56.451Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-46c5-pfj8-fv65","url":"https://github.com/advisories/GHSA-46c5-pfj8-fv65","licence":"CC-BY-4.0","modified":"2026-09-08T12:38:01.654Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51013","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51013","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.453Z","epss":{"score":0.0053,"percentile":0.38285,"date":"2026-11-30T12:00:22.000Z"}}