Vulnerability · Published Oct 13, 2022 · Assigned by GitHub_M

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

Medium 4.3

In plain English

A medium-severity improper authentication in grafana from grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)1.1%top 33.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grafana7.5.15-4.el8ALSA-2023:2784
AlmaLinux:9grafana9.0.9-2.el9ALSA-2023:2167
Gogithub.com/grafana/grafana8.5.14GHSA-gj7m-853r-289r
Gogithub.com/grafana/grafana9.1.8GHSA-gj7m-853r-289r
Gogithub.com/grafana/grafanano fix listedGO-2024-2848

Affected products (as reported)

VendorProductVersions
grafana grafana >= 9.0.0, < 9.1.8>= 8.5.0, < 8.5.14

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References