ZeroHour

CVE-2022-51018

moderate

Unbounded writable-book NBT enables denial-of-service 'book bombs' in PocketMine-MP

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

PocketMine-MP, a widely used third-party Minecraft Bedrock Edition server, does not limit writable-book page text length, page count, or author/title length. Any connected player who can obtain a writable book can craft extremely large NBT data ('book bombs'), causing excess bandwidth consumption and server crashes when the oversized data is saved — exceeding the 1 MB chunk-size limit in the 3.x branch or the 32 KiB TAG_String limit in the 4.x branch. An attacker therefore gains remote denial of service of the affected server (CVSS 4.0 rates the availability impact high) with only low privileges and no user interaction. Operators running PocketMine-MP before 3.26.5 or 4.0.x before 4.0.5 are affected. No public proof-of-concept or known in-the-wild exploitation has been reported; EPSS estimates roughly 0.4% probability of exploitation within 30 days and it is not in CISA KEV.

What to do: Upgrade to PocketMine-MP 3.26.5 on the 3.x branch or 4.0.5 or later on the 4.x branch. Until patched, consider restricting players' access to writable books or adding server-side limits on book page count and page/title length, and watch for anomalous bandwidth use or crash loops. Verify the deployed server version in startup logs before applying the fix.

Affected
PocketMine-MP Project PocketMine-MPbefore 3.26.5 (3.x branch)
PocketMine-MP Project PocketMine-MP4.0.x before 4.0.5
Estimated exposure
moderate≈ thousands of self-hosted PocketMine-MP server instances (rough estimate; no public install counts) — PocketMine-MP is one of the most widely used third-party Minecraft Bedrock Edition server platforms, deployed mostly as small community or private servers, so the order of magnitude is inferred from the project's large open-source…

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 3.26.5 and 4.0.x before 4.0.5 does not limit book page text length, page count, or author/title length. A player who obtains a writable book can create oversized NBT ('book bombs'), causing excess bandwidth consumption and server crashes (exceeding the 1 MB chunk size limit when saving region-based worlds in PM3, or exceeding the 32 KiB TAG_String limit in PM4).

Weakness
CWE-400
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.