Mojira Archive
MC-223093

Beehives in bundles can be used to kick players, and also prevent them from playing

I was reminded once that ilmango was having trouble handling shulkers of bee nests, and how one of the comments said he almost "book-banned" himself. This is more easily achievable with bundles.

This is an exploit. Handling items shouldn't disrupt a player's connection or ability to play, but these bundles are engineered to make any packets containing them be oversized, and thus rejected by Netty:

  1. Create 64 bee nests with 3 bees each. These should make each nest item unique, and with large NBT data.
  2. Place those nests into a single bundle. This is possible.
  3. Duplicate the bundle (in creative mode) or repeat steps 1 and 2.
  4. Open a container such as a chest, and get kicked if you have enough bundles. Otherwise, repeat step 3.

This is possible because bee nests and beehives themselves are stackable to 64, and NBT data does not invalidate that. Since they stack to 64, a bundle can hold 64 of them, regardless of the contents. The bees in the nests make their NBT large, and putting 64 full nests into a bundle makes its NBT very large. If you have multiple of said bundle in your inventory or a container, the inventory data gets too large for network play.

I see this is a critical exploit because players with the vanilla client can do it, without any specialized mods. Also, in the example, it can be done in earnest as a mistake by ignorance. If the "fat bundles" are in the player's inventory, its data must then be deleted or repaired with external tools, completely unrecoverable in game.

Fixed

Hibi

[Mojang] Grum (Erik Broes)

2021-04-13, 06:38 PM

2022-11-02, 03:35 PM

2021-05-07, 11:13 AM

0

1

Confirmed

Very Important

Expansion B

Inventory, Networking

21w14a

21w19a