CVE-2022-2306 Insufficient Session Expiration in heroiclabs/nakama

High 8.2 Published Updated

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.

PackageAffectedFixed in
github.com/heroiclabs/nakama GoAll versions to 3.12.0None
github.com/heroiclabs/nakama GoAll versions to 3.12.0None

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.

Sources

Also known as GHSA-xv59-gc3r-rf92.

Is CVE-2022-2306 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free