Simple Voice Chat

Simple Voice Chat

337k Downloads

Encoded string buffer length is longer than maximum allowed

R00tB33rMan opened this issue · 3 comments

commented

Confirmation

  • I have read the wiki

Bug description

I'm unsure how this exception is reproduced. I randomly came across it when reviewing my logs. I can't seem to find anything specific on it via the wiki or elsewhere, so I thought I should report it here if it is somewhat relevant. Let me know if not!

Minecraft version

1.21.8

Mod/Plugin version

2.5.35

Mod/Plugin loader and version

Folia 1.21.8

Steps to reproduce

Simply have your instance with a lot of players online and see if there's an off chance that users will exploit (or simply that the buffer size will become too large).

Expected behavior

Exception likely never shows at such a high degree.

Log files

https://pastebin.com/4y4981ED

Screenshots

No response

commented

This looks like a user is crafting a malicious payload with a String thats longer than the allowed one. Can you provide the full logs please.

commented

Yeah according to your logs, a user tries to send a voice chat group packet with a category string thats way too large. Please check if this happens on another server where other probably malicious actors dont have permissions to join. But thats most likely not a bug, but intended behaviour to prevent invalid packets from being processed.

commented

This looks like a user is crafting a malicious payload with a String thats longer than the allowed one. Can you provide the full logs please.

Understood and yeah, that’s all the log provided me. Nothing more surrounding. Appreciate the quick response as always — was a super obscure issue, to say the least but I’m glad it’s internally mitigated.