CVE-2022-39306 json
Grafana contains Improper Input Validation
published 4y ago modified last mo. also BIT-grafana-2022-39306 , EUVD-2024-1372 , GHSA-2x6g-h2hg-rq84 , GO-2024-2843
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/grafana/grafana 8.5.15, 9.2.4
- bitnami grafana 8.5.15, 9.2.4
- grafana grafana 8.5.15, 9.2.4
- grafana RHEL 9 9.2.10-7.el9_3
red hat advisories RHSA-2023:6420
- rhnlib Manager Client Tools 15-BETA 5.0.1-159000.6.30.1
- ansible Manager Client Tools 15-BETA 2.9.27-159000.3.9.1
- grafana Manager Client Tools 15-BETA 9.5.8-159000.4.24.1
- mgr-push Manager Client Tools 15-BETA 5.0.1-159000.4.21.1
- spacecmd Manager Client Tools 15-BETA 5.0.1-159000.6.42.1
- python-hwdata Manager Client Tools 15-BETA 2.3.5-159000.5.13.1
- python-pyvmomi Manager Client Tools 15-BETA 6.7.3-159000.3.6.1
- dracut-saltboot Manager Client Tools Beta for SLE Micro 5, Manager Client Tools 15-BETA 0.1.1681904360.84ef141-159000.3.30.1
suse advisories SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2023:0362-1SUSE-SU-2023:0353-1SUSE-SU-2023:0352-1
- grafana openSUSE Tumbleweed 8.5.15-2.1
opensuse advisories openSUSE-SU-2024:12564-1
- grafana AlmaLinux 9 9.2.10-7.el9_3.alma.1
almalinux advisories ALSA-2023:6420
Is CVE-2022-39306 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-39306 updated cvss 8.1
grafana: email addresses and usernames cannot be trusted
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus, openshift-service-mesh/grafana-rhel8 Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana, openshift-service-mesh/grafana-rhel8 Red Hat Ceph Storage 3 grafanaaffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8affected: no fix available
-
Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 moreaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat Storage 3 grafanaaffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-dashboard-rhel9 6-75fixed: vendor fix RHSA-2023:3642
-
Red Hat Enterprise Linux AppStream (v. 9) grafana 9.2.10-7.el9_3fixed: vendor fix RHSA-2023:6420
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8, openshift-logging/logging-view-plugin-rhel9 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/grafana-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat build of Quarkus grafana Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-rhel9 6-177, rhceph/keepalived-rhel9 2.2.4-3, rhceph/snmp-notifier-rhel9 1.2.1-36, rhceph/rhceph-haproxy-rhel9 2.4.17-4, rhceph/rhceph-promtail-rhel9 v2.4.0-5 Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-prometheus, openshift4/ose-thanos-rhel9, openshift4/ose-prometheus-operator, openshift4/ose-cluster-monitoring-operatornot affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8-operator
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9mo ago
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | >=8.0.0, <8.5.15 >=9.0.0, <9.2.4 all versions |
8.5.15 9.2.4 |
| bitnami | grafana | >=8.0.0, <8.5.15 >=9.0.0, <9.2.4 |
8.5.15 9.2.4 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/grafana/grafana/security/advisories/GHSA-2x6g-h2hg-rq84
web, patch, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20221215-0004/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39306
advisory, web
-
github.com
/grafana/grafana
package
-
security.netapp.com
/advisory/ntap-20221215-0004
web
Sources
- CVE List CVE-2022-39306
- GitHub Advisory GHSA-2x6g-h2hg-rq84
- NVD CVE-2022-39306
- OSV BIT-grafana-2022-39306
- OSV GO-2024-2843
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.