CVE-2021-27358 Denial of service in Grafana

High 7.5 Published Updated

Unauthenticated attackers can cause a denial of service in Grafana via the snapshot feature if a common configuration is enabled.

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

What is CVE-2021-27358?

CVE-2021-27358 is a high-severity denial of service vulnerability in Grafana Grafana, published on 18 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The snapshot feature in Grafana 6.7.3 through 7.4.1 can allow an unauthenticated remote attackers to trigger a Denial of Service via a remote API call if a commonly used configuration is set.

Which versions are affected by CVE-2021-27358?

3 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 2 products.

PackageAffectedFixed in
github.com/grafana/grafana GoFrom 6.7.37.4.2
github.com/grafana/grafana GoFrom 6.7.37.4.2
grafana BitnamiFrom 6.7.37.4.2

Products include Grafana Grafana, Netapp E-Series Performance Analyzer.

How do I fix CVE-2021-27358?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-27358 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-27358 exists.

Public exploit code: 1 Nuclei template.

All Grafana Grafana vulnerabilities

Sources

Also known as BIT-grafana-2021-27358, GHSA-h5rh-w6vm-9ghc, UBUNTU-CVE-2021-27358.

Is CVE-2021-27358 in your software?

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

Check your SBOMs for free