mojira.dev
MC-77810

Several LAN worlds on the same network can cause a client crash

On a LAN network with several (tested ~100 for fun) worlds open to the same LAN the multiplayer screen has a chance to crash.

This is due to concurrent modification on the collection that stores the results of the UDP lookups (stacktrace below w/ crash report).

For quicker reproduction of the issue, send ~1000 falsified payloads over the network and you will almost certainly get a client crash.

Only known to occur on the multiplayer screen (for obvious reasons).

Attachments

Comments 5

send ~1000 falsified payloads over the network and you will almost certainly get a client crash

This seems like a way to crash other people's clients. In other words, this might be a security issue.

It is a way to crash clients on a localized network in a specific case. It's not a security issue, it's an annoyance at most. The bug does not extend beyond a local network.

Is this still an issue in the current Minecraft Snapshot 15w47c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Can confirm for 1.9.3-pre2 (I add the crash report above)
I created a program that spam DatagramPacket on the lan broadcast port (4445) with no delay (inside a while true) and when running the program, if the minecraft client in the multiplayer screen, the client will crash

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

Travis Ralston

(Unassigned)

Unconfirmed

Minecraft 1.8.2, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 2

Retrieved