Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-h6j3-j35f-v2x7: PocketMine-MP server crash with certain invalid JSON payloads in `LoginPacket` due to dependency vulnerability (3rd time)

Impact

An attacker could crash the server by sending malformed JWT JSON in LoginPacket due to a security vulnerability in netresearch/jsonmapper, due to attempting to construct objects from scalar types by default without any validation, with unexpected results that caused PocketMine-MP to crash.

Due to the relatively high number of security issues arising from this specific dependency, the team is exploring options to replace it.

Patches

In the meantime, the issue was fixed by pmmp/netresearch-jsonmapper@b96a209f9e8b76b899a0d0918493cd87eb3c02a7 and 6872661fd03649cc7a8762c41c16e9ee5a4de1c9.

Workarounds

Detecting the malicious data that triggers this issue is of rather high difficulty, so it’s not likely that a plugin would be able to easily remediate this.

References

https://github.com/cweiske/jsonmapper/issues/226

ghsa
#vulnerability#js#git
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. GHSA-h6j3-j35f-v2x7

PocketMine-MP server crash with certain invalid JSON payloads in `LoginPacket` due to dependency vulnerability (3rd time)

High severity GitHub Reviewed Published Mar 5, 2024 in pmmp/PocketMine-MP • Updated Mar 6, 2024

Package

composer pocketmine/pocketmine-mp (Composer)

Affected versions

< 5.11.1

Description

Published to the GitHub Advisory Database

Mar 6, 2024

Severity

CVSS base metrics

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

GHSA ID

GHSA-h6j3-j35f-v2x7

Source code

Credits

ghsa: Latest News

GHSA-j4rc-96xj-gvqc: phpMyFAQ: Public API endpoints expose emails and invisible questions