CVE-2022-39328 Grafana vulnerable to race condition allowing privilege escalation

Critical 9.8 Published Updated

An unauthenticated attacker can exploit a race condition in Grafana to access administrative endpoints and escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-39328?

CVE-2022-39328 is a critical vulnerability in Grafana Grafana, published on 8 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Grafana is an open-source platform for monitoring and observability. Versions starting with 9.2.0 and less than 9.2.4 contain a race condition in the authentication middlewares logic which may allow an unauthenticated user to query an administration endpoint under heavy load. This issue is patched in 9.2.4. There are no known workarounds.

Weakness: CWE-362

Which versions are affected by CVE-2022-39328?

4 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.

PackageAffectedFixed in
github.com/grafana/grafana GoAll versionsNone
github.com/grafana/grafana GoFrom 9.2.09.2.4
github.com/grafana/grafana GoFrom 9.2.09.2.4
grafana BitnamiFrom 9.2.09.2.4

Products include Grafana Grafana.

How do I fix CVE-2022-39328?

Upgrade github.com/grafana/grafana to 9.2.4 or later.

Is CVE-2022-39328 being exploited?

There is no known exploitation of CVE-2022-39328 in the wild and no public exploit code.

All Grafana Grafana vulnerabilities

Sources

Also known as BIT-grafana-2022-39328, GHSA-vqc4-mpj8-jxch, GO-2024-2856, MINI-49rw-pc5x-7fv7, MINI-4j3c-q7c3-3m6j, MINI-6gjm-gc8q-r7v8 and 15 more.

Is CVE-2022-39328 in your software?

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

Check your SBOMs for free