CVE-2022-39229: Grafana is an open source data visualization platform for metrics, logs, and traces.
Medium CVSS 4.3
- CVE id
- CVE-2022-39229
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Grafana Runtimes and servers |
< 8.5.14 >= 9.0.0, < 9.1.8 |
8.5.14, 9.1.8 |
How to fix it
Upgrade Grafana to the fixed release of the line you run: 8.5.14, 9.1.8.
grafana-server -v
- Upgrade Grafana (the grafana/grafana image tag or packages) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-39229 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-39229
- Web: https://github.com/grafana/grafana/commit/5644758f0c5ae9955a4e5480d71f9bef57fdce35
- Web: https://github.com/grafana/grafana/releases/tag/v9.1.8
- Web: https://github.com/grafana/grafana/security/advisories/GHSA-gj7m-853r-289r
- Web: https://github.com/grafana/grafana/commit/5644758f0c5ae9955a4e5480d71f9bef57fdce35
- Web: https://github.com/grafana/grafana/releases/tag/v9.1.8
- Web: https://github.com/grafana/grafana/security/advisories/GHSA-gj7m-853r-289r
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.