{"id":"CVE-2022-51015","aliases":["CVE-2022-51015","GHSA-xh99-hw7h-wf63"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 4.0.6 Denial of Service via PlayerActionPacket","summary":"PocketMine-MP before 4.0.6 does not validate facing values in PlayerActionPacket (for START_BREAK and CRACK_BREAK actions) or in UseItemTransactionData (typically within InventoryTransactionPacket). A remote authenticated attacker can send crafted packets with invalid facing values (e.g., negative or out-of-range) to crash the server, resulting in a denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PocketMine-MP before 4.0.6 does not validate facing values in PlayerActionPacket (for START_BREAK and CRACK_BREAK actions) or in UseItemTransactionData (typically within InventoryTransactionPacket). A remote authenticated attacker can send crafted packets with invalid facing values (e.g., negative or out-of-range) to crash the server, resulting in a denial of service.","source":"cvelist"},{"lang":"en","text":"### Impact\nA remote attacker may crash a server by sending `PlayerActionPacket` with invalid facing values (e.g. negative), specifically with `START_BREAK` or `CRACK_BLOCK` actions, or with a `UseItemTransactionData` (typically in `InventoryTransactionPacket`).\n\n### Patches\nf126479c37ff00a717a828f5271cf8e821d12d6c\n\n### Workarounds\nUsing a plugin, cancel `DataPacketReceiveEvent` if the packet is `PlayerActionPacket` and the facing is outside the range 0-5 when receiving START_BREAK or CRACK_BLOCK actions, or UseItemTransactionData. However, beware that negative values may be legitimate in some cases.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [team@pmmp.io](mailto:team@pmmp.io)","format":"markdown","source":"ghsa"},{"lang":"es","text":"PocketMine-MP versiones anteriores a la 4.0.6 no valida los valores de orientación en PlayerActionPacket (para las acciones START_BREAK y CRACK_BREAK) o en UseItemTransactionData (típicamente dentro de InventoryTransactionPacket). Un atacante remoto autenticado puede enviar paquetes manipulados con valores de orientación no válidos (por ejemplo, negativos o fuera de rango) para bloquear el servidor, lo que resulta en una denegación de servicio.","source":"nvd"}],"published":"2022-01-13T22:25:44.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"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.0.6","status":"affected"},{"type":"semver","version":"4.0.6","status":"unaffected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.6"}],"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-xh99-hw7h-wf63","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/f126479c37ff00a717a828f5271cf8e821d12d6c","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-4.0.6-denial-of-service-via-playeractionpacket","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-08T13:18:07.026Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51015","url":"https://www.cve.org/CVERecord?id=CVE-2022-51015","licence":"CVE Terms of Use","modified":"2026-10-08T15:20:57.560Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xh99-hw7h-wf63","url":"https://github.com/advisories/GHSA-xh99-hw7h-wf63","licence":"CC-BY-4.0","modified":"2026-09-08T12:38:27.218Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51015","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51015","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.454Z","epss":{"score":0.00675,"percentile":0.53472,"date":"2026-12-01T12:00:22.000Z"}}