Vulnerability · Published Nov 9, 2022 · Assigned by GitHub_M
CVE-2022-39307Grafana subject to Exposure of Sensitive Information resulting in User enumeration via forget password
Medium 6.7
In plain English
A medium-severity information exposure 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 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Grafana is an open-source platform for monitoring and observability. When using the forget password on the login page, a POST request is made to the `/api/user/password/sent-reset-email` URL. When the username or email does not exist, a JSON response contains a “user not found” message. This leaks information to unauthenticated users and introduces a security risk. This issue has been patched in 9.2.4 and backported to 8.5.15. There are no known workarounds.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | grafana | 9.2.10-7.el9_3.alma.1 | ALSA-2023:6420 |
| Go | github.com/grafana/grafana | 9.2.4 | GHSA-3p62-42x7-gxg5 |
| Go | github.com/grafana/grafana | 8.5.15 | GHSA-3p62-42x7-gxg5 |
| Go | github.com/grafana/grafana | no fix listed | GO-2024-2844 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L