CVE-2022-31123 Grafana plugin signature bypass vulnerability

Medium 6.1 Published Updated

Attackers can bypass plugin signature checks to install malicious plugins, leading to code execution if admins install them.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-31123?

CVE-2022-31123 is a medium-severity vulnerability in Grafana Grafana, published on 13 Oct 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Grafana is an open source observability and data visualization platform. Versions prior to 9.1.8 and 8.5.14 are vulnerable to a bypass in the plugin signature verification. An attacker can convince a server admin to download and successfully run a malicious plugin even though unsigned plugins are not allowed. Versions 9.1.8 and 8.5.14 contain a patch for this issue. As a workaround, do not install plugins downloaded from untrusted sources.

Weakness: CWE-347

Which versions are affected by CVE-2022-31123?

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

PackageAffectedFixed in
github.com/grafana/grafana GoAll versionsNone
github.com/grafana/grafana GoFrom 7.0.08.5.14
github.com/grafana/grafana GoFrom 7.0.08.5.14
github.com/grafana/grafana GoFrom 9.0.09.1.8
github.com/grafana/grafana GoFrom 9.0.09.1.8
grafana BitnamiFrom 7.0.08.5.14, 9.1.8

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

How do I fix CVE-2022-31123?

Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.14 or 9.1.8.

Is CVE-2022-31123 being exploited?

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

All Grafana Grafana vulnerabilities

Sources

Also known as BIT-grafana-2022-31123, GHSA-rhxj-gh46-jvw8, GO-2024-2855, MINI-4p29-87x5-x2f3, MINI-649c-p9pf-8433, MINI-66wv-ff2x-3v28 and 15 more.

Is CVE-2022-31123 in your software?

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

Check your SBOMs for free