Mittel

Book page text, count, and author/title length is not limited in PocketMine-MP

  • Veröffentlicht: 06.01.2022
  • Aktualisiert: 11.10.2026 10:22

Impact

Players can fill book pages with as many characters as they like; the server does not check this. In addition, the maximum of 50 pages is also not enforced, meaning that players can create "book bombs".

This causes a variety of problems:

  • Oversized NBT on the wire costing excess bandwidth for server and client
  • Server crashes when saving region-based worlds due to exceeding maximum chunk size of 1 MB (PM3-specific)
  • Server crashes if any book page exceeds 32 KiB (due to TAG_String size limit) (PM4-specific)

This does, however, require that an attacker obtain a writable book in the first place in order to exploit the problem.

Patches

The bug has been fixed in 3.26.5 and 4.0.5.

Workarounds

Ban writable books, or use a plugin to cancel PlayerEditBookEvent to cancel the event if strlen(text) > 1024 || mb_strlen(text) > 256.

For more information

If you have any questions or comments about this advisory:

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket pocketmine/pocketmine-mp < 3.26.5, >= 4.0.0, < 4.0.5 3.26.5, 4.0.5

Verweise

CVSS-Wert 6.5/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Schwäche (CWE)
-
Plattform
Composer
Paket
pocketmine/pocketmine-mp
Veröffentlicht
06.01.2022
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-p62j-hrxm-xcxf - CC BY 4.0

Schwachstellenhistorie: pocketmine/pocketmine-mp

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (30) im Archiv
Einträge insgesamt
30
Erste → letzte
11.2020 04.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 20
  • Mittel 8
  • Niedrig 2

Veröffentlichungen pro Jahr

  1. 2020: 1
  2. 2021: 1
  3. 2022: 11
  4. 2023: 8
  5. 2024: 2
  6. 2025: 2
  7. 2026: 5
Schweregrad:
  1. Hoch · 7.5 CVE-2023-54392 >= 4.20.0, < 4.22.3, >= 5.0.0, < 5.2.1 4.22.3, 5.2.1
  2. Hoch · 7.5 CVE-2022-51012 < 4.2.9 4.2.9
  3. Hoch · 7.5 CVE-2022-51014 >= 4.0.0, < 4.0.7 4.0.7
  4. Hoch · 7.5 CVE-2022-51015 < 4.0.6 4.0.6
  5. Hoch · 7.5 CVE-2022-51017 < 3.26.5, >= 4.0.0, < 4.0.5 3.26.5, 4.0.5
  6. Book page text, count, and author/title length is not limited in PocketMine-MP dieser Eintrag
    Mittel · 6.5 CVE-2022-51018 < 3.26.5, >= 4.0.0, < 4.0.5 3.26.5, 4.0.5
  7. Hoch CVE-2020-37277 < 3.15.4 3.15.4

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.