Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pocketmine/pocketmine-mp
  4. ›
  5. GHSA-92jh-gwch-jq38

GHSA-92jh-gwch-jq38: PocketMine-MP server crash with certain invalid JSON payloads in `LoginPacket` due to dependency vulnerability (again)

September 14, 2023 (updated May 23, 2024)

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

This happened due to the particular handling of NULL types in the json mapper which accepts NULL type values in typed arrays which PocketMine-MP did not expect.

Code processing arrays in the JSON data could then crash due to unexpected NULL elements.

References

  • github.com/advisories/GHSA-92jh-gwch-jq38
  • github.com/pmmp/PocketMine-MP
  • github.com/pmmp/PocketMine-MP/security/advisories/GHSA-92jh-gwch-jq38
  • github.com/pmmp/netresearch-jsonmapper/commit/4f90e8dab1c9df331fad7d3d89823404e882668c

Code Behaviors & Features

Detect and mitigate GHSA-92jh-gwch-jq38 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.23.1, all versions starting from 5.0.0 before 5.3.1

Fixed versions

  • 5.3.1
  • 4.23.1

Solution

Upgrade to versions 4.23.1, 5.3.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Source file

packagist/pocketmine/pocketmine-mp/GHSA-92jh-gwch-jq38.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.