llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · pocketmine/pocketmine-mp

GHSA-PQP3-8RRW-G8VM

PocketMine-MP vulnerable to server crash with certain invalid JSON payloads in `LoginPacket` due to vulnerable dependency

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones4.20.5 · 4.21.1
Exposición1.262 dDesde la divulgación, 5 jun 2023, 8:50 p. m.
Detección1.260 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
6 jun 23
10 sept 26
17 nov 26
19 nov 26
6 jun 23
16 abr 24
26 feb 25
8 ene 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-PQP3-8RRW-G8VM divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

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

This happened due to a bug in `netresearch/jsonmapper` https://github.com/cweiske/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

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida
pocketmine/pocketmine-mp< 4.20.5
pocketmine/pocketmine-mp≥ 4.21.0 < 4.21.1
4.20.5
4.21.0
4.21.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistpocketmine/pocketmine-mp
Corregida 4.20.5, 4.21.1 — —
Versiones corregidas4.20.54.21.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-pqp3-8rrw-g8vm
Otrahttps://github.com/cweiske/jsonmapper/pull/210
Otrahttps://github.com/pmmp/PocketMine-MP/commit/09668a37d66c6023685a948b7550c918620e98f2
Otrahttps://github.com/pmmp/netresearch-jsonmapper/commit/a31902a31f5b6fdb832f57c0e3a3f16a3b41c012
Otrahttps://github.com/pmmp/PocketMine-MP

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.