CVE-2023-54393
JSON

8.7high

PocketMine-MP before 4.20.5 Denial of Service via LoginPacket

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-pqp3-8rrw-g8vm

Description

PocketMine-MP versions before 4.20.5 contain a denial of service vulnerability in LoginPacket JSON parsing due to improper validation in the JsonMapper dependency. Attackers can send malformed JSON structures in LoginPacket to crash the server.

Affected

Product or packageVersionsReported by
pmmp PocketMine-MPbefore 4.20.5, from 4.21.0 before 4.21.1CVE List
pocketmine/pocketmine-mp (Packagist)before 4.20.5, from 4.21.0 before 4.21.1GitHub Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

PocketMine-MP versions before 4.20.5 contain a denial of service vulnerability in LoginPacket JSON parsing due to improper validation in the JsonMapper dependency. Attackers can send malformed JSON structures in LoginPacket to crash the server.

GitHub Advisory Database
Impact

An attacker could crash PocketMine-MP by sending malformed JSON in LoginPacket.

This happened due to a bug in netresearch/jsonmapper. The library wasn't doing proper checks when mapping JSON arrays and objects onto scalar model properties such as strings.

Patches

The problem was fixed in a fork of JsonMapper in dktapps/JsonMapper@a31902a31f5b6fdb832f57c0e3a3f16a3b41c012. PocketMine-MP releases 4.20.5 and 4.21.1 have been released with the fix.

Workarounds
  • Users of PocketMine-MP source installations may manually install the patched version of JsonMapper by backporting commit pmmp/PocketMine-MP@09668a37d66c6023685a948b7550c918620e98f2.
  • A plugin may also be able to workaround this issue by using DataPacketReceiveEvent to attempt detection of suspicious payloads. An ErrorException will be thrown in the crash case, which can be caught by plugins.
References

cweiske/jsonmapper#210

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54393 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-pqp3-8rrw-g8vm changed 2026-09-10CC-BY-4.0
NVDCVE-2023-54393 changed 2026-10-08Public domain