CVE-2022-39306Grafana contains Improper Input Validation
Grafana is an open-source platform for monitoring and observability. Versions prior to 9.2.4, or 8.5.15 on the 8.X branch, are subject to Improper Input Validation. Grafana admins can invite other members to the organization they are an admin for. When admins add members to the organization, non existing users get an email invite, existing members are added directly to the organization. When an invite link is sent, it allows users to sign up with whatever username/email address the user chooses and become a member of the organization. This introduces a vulnerability which can be used with malicious intent. This issue is patched in version 9.2.4, and has been backported to 8.5.15. There are no known workarounds.
What to do
Fixed builds are available from AlmaLinux, Go, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | grafana | Fix pending | UBUNTU-CVE-2022-39306 | |
| Red Hat Enterprise Linux 9 | grafana | Fixed | 0:9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux 8 | grafana | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Will not fix Will not fix | ||
| AlmaLinux 9 | grafana | Fixed | 9.2.10-7.el9_3.alma.1 | ALSA-2023:6420 |
| Go library | github.com/grafana/grafana | Fixed | 9.2.4 | GO-2024-2843 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- grafana: affected: < 8.5.15, >= 9.v9.0.0-beta1, < 9.2.4
References
- https://github.com/grafana/grafana/security/advisories/GHSA-2x6g-h2hg-rq84
- https://security.netapp.com/advisory/ntap-20221215-0004/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.