Skip to content

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

MediumCVSS 4.3 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/grafana(Ubuntu 16.04) = 2.6.0+dfsg-1; All versions No fix listed No fix yet
grafana github.com/grafana/grafana(Go) < 8.5.14; >= 9.0.0, < 9.1.8; All versions 8.5.14, 9.1.8 Partially fixed
grafana github.com/grafana/grafana < 8.5.14; = >= 8.5.0, < 8.5.14; = >= 9.0.0, < 9.1.8; >= 9.0.0, < 9.1.8 8.5.14, 9.1.8 Fixed

Affected products

ProductAffected versionsFixed in
grafana github.com/grafana/grafana(Go) < 8.5.14 8.5.14
grafana github.com/grafana/grafana(Go) >= 9.0.0, < 9.1.8 9.1.8
grafana github.com/grafana/grafana(Go) All versions No fix listed
grafana github.com/grafana/grafana = >= 9.0.0, < 9.1.8 No fix listed
grafana github.com/grafana/grafana = >= 8.5.0, < 8.5.14 No fix listed
grafana github.com/grafana/grafana < 8.5.14 8.5.14
grafana github.com/grafana/grafana >= 9.0.0, < 9.1.8 9.1.8
ubuntu/grafana(Ubuntu:16.04) All versions No fix listed
ubuntu/grafana(Ubuntu:16.04) = 2.6.0+dfsg-1 No fix listed

References