CVE-2022-39229 json
Grafana users with email as a username can block other users from signing in
published 4y ago modified last mo. also BIT-grafana-2022-39229 , EUVD-2024-1627 , GHSA-gj7m-853r-289r , GO-2024-2848
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
Grafana is an open source data visualization platform for metrics, logs, and traces. Versions prior to 9.1.8 and 8.5.14 allow one user to block another user's login attempt by registering someone else'e email address as a username. A Grafana user’s username and email address are unique fields, that means no other user can have the same username or email address as another user. A user can have an email address as a username. However, the login system allows users to log in with either username or email address. Since Grafana allows a user to log in with either their username or email address, this creates an usual behavior where `user_1` can register with one email address and `user_2` can register their username as `user_1`’s email address. This prevents `user_1` logging into the application since `user_1`'s password won’t match with `user_2`'s email address. Versions 9.1.8 and 8.5.14 contain a patch. There are no workarounds for this issue.
Patch / fix
- go github.com/grafana/grafana 8.5.14, 9.1.8
- bitnami grafana 8.5.14, 9.1.8
- grafana grafana 8.5.14, 9.1.8
- grafana RHEL 8 7.5.15-4.el8
- grafana RHEL 9 9.0.9-2.el9
red hat advisories RHSA-2023:2784RHSA-2023:2167
- 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.14-1.1
opensuse advisories openSUSE-SU-2024:12508-1
- grafana AlmaLinux 8 7.5.15-4.el8
- grafana AlmaLinux 9 9.0.9-2.el9
almalinux advisories ALSA-2023:2784ALSA-2023:2167
Is CVE-2022-39229 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-39229 updated cvss 4.3
grafana: using email as a username can block other users from signing in
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat Ceph Storage 3 grafanaaffected: no fix planned “Will not fix”
-
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 OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafanaaffected: no fix planned “Will not fix”
-
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. 8) grafana 7.5.15-4.el8fixed: vendor fix RHSA-2023:2784
-
Red Hat Enterprise Linux AppStream (v. 9) grafana 9.0.9-2.el9fixed: vendor fix RHSA-2023:2167
-
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-5not affected: vulnerable code not present
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
- partial
- Assessed
- last yr.
Exploit prediction
1.14% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | <8.5.14 >=9.0.0, <9.1.8 all versions |
8.5.14 9.1.8 |
| bitnami | grafana | <8.5.14 >=9.0.0, <9.1.8 |
8.5.14 9.1.8 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/grafana/grafana/commit/5644758f0c5ae9955a4e5480d71f9bef57fdce35
web, patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/releases/tag/v9.1.8
web, third-party-advisory, advisory
-
github.com
/grafana/grafana/security/advisories/GHSA-gj7m-853r-289r
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39229
advisory, web
-
github.com
/grafana/grafana
package
Sources
- CVE List CVE-2022-39229
- GitHub Advisory GHSA-gj7m-853r-289r
- NVD CVE-2022-39229
- OSV BIT-grafana-2022-39229
- OSV GO-2024-2848
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.