ZeroHour

CVE-2022-51014

moderate

Unhandled Exception DoS in PocketMine-MP form packet handler before 4.0.7

CVSS 4.0
7.1 high
EPSS
<1%p42
Published
()
Modified
AI analysis

PocketMine-MP before 4.0.7 contains an uncaught exception flaw (CWE-248) in its ModalFormResponsePacket handler: when a client sends a form response packet containing invalid or malformed JSON, the handler raises an InvalidArgumentException that is never caught, and the unhandled exception crashes the whole server process. Any player connected to the server can trigger this remotely, so an attacker can repeatedly crash the server at will, gaining a denial of service (CVSS 4.0 rates availability impact as High, with no confidentiality or integrity impact). Only deployments of PocketMine-MP — the popular third-party Minecraft: Bedrock Edition server software — running versions earlier than 4.0.7 are affected; Mojang's official Bedrock servers are not involved. Exploitation is not currently known: there is no public proof-of-concept, the flaw is absent from CISA's KEV, and EPSS assigns only a 0.5% probability of exploitation in the next 30 days.

What to do: Upgrade PocketMine-MP to 4.0.7 or later, where the InvalidArgumentException from the ModalFormResponsePacket handler is handled. Until upgraded, restrict access to trusted or allowlisted players (exploitation requires a connected client) and avoid exposing the server port to the open internet, and check crash logs for InvalidArgumentException entries tied to form response handling.

Affected
PocketMine-MP Project PocketMine-MPall versions before 4.0.7 (fixed in 4.0.7)
Estimated exposure
moderateroughly a few thousand exposed PocketMine-MP servers (order of 10^3; total community/private deployments likely somewhat higher) — PocketMine-MP is a widely used alternative Bedrock server platform, but public internet scans of the Bedrock UDP port (19132) consistently surface only thousands of instances, and the attack additionally requires a connected player, so…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

PocketMine-MP before 4.0.7 contains an unhandled exception vulnerability in the ModalFormResponsePacket handler when processing malformed JSON from clients. Attackers can send specially crafted form response packets with invalid JSON to trigger an uncaught InvalidArgumentException, causing server crashes.

Weakness
CWE-248
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.