facebookarchive / RakNet

RakNet is a cross platform, open source, C++ networking engine for game programmers.
Other
3.29k stars 1.02k forks source link

Fix endless loop upon large NAK ranges (CVSS score: 7.2) #127

Open Luke1410 opened 6 years ago

Luke1410 commented 6 years ago

This is a backport of a security relevant fix for RakNet (fixes part of issue #102) which was brought to our attention by a user - see https://github.com/SLikeSoft/SLikeNet/issues/32 for details. The issue has already been fixed in SLikeNet 0.1.2 (see https://www.slikenet.com/). We provide this backport for people who prefer to stick with the RakNet project and also in order to easier share this fix with other RakNet forks.

CVSS Base score: 7.5 CVSS Temporal score: 7.2 CVSS Overall score: 7.2 CVSS v3 vector: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:H/RL:O/RC:C

The security implications are critical in our opinion. Every RakNet instance is susceptive to the attack. No authentication is required. If the attack is successful, the instance will become unresponsive persistently (DoS attack) until the server is restarted. If an upgrade of the server side is not reasonable to resolve the vulnerability, we offer alternative approaches to mitigate attacks relying on this issue. Please contact us at security@slikesoft.com.