CVE-2022-2306 Insufficient Session Expiration in heroiclabs/nakama
Attackers can use expired session tokens to authenticate and perform actions on behalf of users in Nakama game servers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2306?
CVE-2022-2306 is a high-severity authentication bypass vulnerability in heroiclabs/nakama, published on 5 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Old session tokens can be used to authenticate to the application and send authenticated requests.
Weakness: CWE-613
Which versions are affected by CVE-2022-2306?
2 open source packages ship an affected version, including github.com/heroiclabs/nakama. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/heroiclabs/nakama Go | All versions to 3.12.0 | None |
github.com/heroiclabs/nakama Go | All versions to 3.12.0 | None |
Products include Heroiclabs Nakama.
How do I fix CVE-2022-2306?
No fix has been published for CVE-2022-2306 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-2306 being exploited?
There is no known exploitation of CVE-2022-2306 in the wild and no public exploit code.
Other vulnerabilities in heroiclabs/nakama
Sources
Also known as GHSA-xv59-gc3r-rf92.