CVEfocus › CVE database › CVE-2022-39229

CVE-2022-39229Grafana users with email as a username can block other users from signing in

CVSS 4.3 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2022-10-13Updated 2025-04-23Assigner: GitHub_M

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.

CWE-287

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

5Fixed
1Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04grafanaFix pendingUBUNTU-CVE-2022-39229
Red Hat Enterprise Linux 9grafanaFixed0:9.0.9-2.el9RHSA-2023:2167
Red Hat Enterprise Linux 8grafanaFixed0:7.5.15-4.el8RHSA-2023:2784
AlmaLinux 9grafanaFixed9.0.9-2.el9ALSA-2023:2167
AlmaLinux 8grafanaFixed7.5.15-4.el8ALSA-2023:2784
Go librarygithub.com/grafana/grafanaFixed9.1.8GO-2024-2848

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.

References

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.