CVE-2021-39226
Grafana Labs — Grafana Authentication Bypass Vulnerability
Grafana Labs · CWE-287 — Improper authentication | CWE-862 — Missing authorization · in CISA KEV since 2022-08-25
EVRS 84 of 100 Urgent
Patch This Cycle
Rank 462 of 2,960 tracked
Why it scores 84
Evidence available: 6 of 7 signalsListed in the CISA KEV catalog, and an EPSS probability of 0.999.
- CISA KEVApplied
- RansomwareDid not apply
- Vendor exploitationDid not apply
- EPSSApplied
- Microsoft Exploitability IndexNot applicable
- Pre-patch disclosureNo data
- KEV recencyDid not apply
- CVSSApplied
The band answers “how soon”, not “how bad”. No data for: Pre-patch disclosure. Why some signals show no data
Fix
Patch or fixed version identifiedCISA required action
- grafana.com/…/grafana-7.5.11-and-8.1.6-released-with-critical-security-fix
- nvd.nist.gov/…/CVE-2021-39226
Fixed in
- github.com/grafana/grafana
7.5.118.1.6update to this version or later in your release line
Affected versions
- github.com/grafana/grafana (go)
affected < 7.5.11, fixed in 7.5.11affected >= 8.0.0, < 8.1.6, fixed in 8.1.6
Remediation
Apply updates per vendor instructions.
Fixed versions from NVD and GitHub. Affected packages also in GitHub Advisory GHSA-69j6-29vr-p3j9 (CC BY 4.0).
Evidence
Each value with its source| Measure | Value | Source |
|---|---|---|
| CVSS base scoreHow severe the flaw is in itself. It does not say how likely an attack is. | 7.3 | NVD |
| FIRST EPSSFIRST's estimate of the chance this is exploited in the next 30 days, and how that ranks against all CVEs. | 0.999 (99.97th pctl) | FIRST EPSS |
| Actively exploitedWhether a source of record has confirmed attacks using it in the wild. | Confirmed | CISA KEV |
| Ransomware campaign useWhether CISA has seen ransomware operators use it. | Unknown or none | CISA KEV |
| CISA remediation deadlineThe date US federal agencies must have fixed or mitigated it. | 2022-09-15 · KEV since 2022 · listed over a year | CISA KEV |
| Public exploit moduleA module existing is not the same as active exploitation. | None known | Metasploit |
| EUVD cross-referenceENISA's record: CVSS 9.8 (v3.1), assigned by GitHub_M. | Listed | ENISA EUVD |
Description
NVDGrafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.
What CISA says to do
