This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
Fix Lobby2 Steam Client not being detached correctly (CVSS score: n/a) #126
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of a security relevant fix for RakNet, we discovered. The issue has already been fixed in SLikeNet 0.1.0 (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.
We could/did not calculate a CVSS score, since such score heavily depends on how exactly an application utilizes the Lobby2 Steam client. In usual cases (see details below), the issue should not raise an exploitable security vulnerability at all.
The security implications of the issue are very low in our opinion. An application is only susceptive to an exploit, if it uses the Lobby2 Steam client and detaches the client. Usually this should happen shortly before the application terminates and hence happens in a case where the application should no longer process any further input. Common practice would be to destroy the Steam client instance directly afterwards, which should usually result in a crash.
If an application detaches the Lobby2 Steam client while running and destroying the instance, it will however result in a dangling pointer being left behind with memory writes/reads occurring to the memory location (i.e. use after free). This in effect opens up different attack vectors.