CVE-2022-21703Cross Site Request Forgery in Grafana
Grafana is an open-source platform for monitoring and observability. Affected versions are subject to a cross site request forgery vulnerability which allows attackers to elevate their privileges by mounting cross-origin attacks against authenticated high-privilege Grafana users (for example, Editors or Admins). An attacker can exploit this vulnerability for privilege escalation by tricking an authenticated user into inviting the attacker as a new user with high privileges. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
What to do
Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | grafana | Fix pending | UBUNTU-CVE-2022-21703 | |
| Red Hat Enterprise Linux 9 | grafana | Fixed | 0:7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux 8 | grafana | Fixed | 0:7.5.15-3.el8 | RHSA-2022:7519 |
| AlmaLinux 9 | grafana | Fixed | 7.5.15-3.el9 | ALSA-2022:8057 |
| AlmaLinux 8 | grafana | Fixed | 7.5.15-3.el8 | ALSA-2022:7519 |
| Rocky Linux 9 | grafana | Fixed | 0:7.5.15-3.el9 | RLSA-2022:8057 |
| Rocky Linux 8 | grafana | Fixed | 0:7.5.15-3.el8 | RLSA-2022:7519 |
| Alpine Linux 3.24 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.23 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.22 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.21 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.20 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.19 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.18 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.17 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Alpine Linux 3.16 | grafana | Fixed | 8.3.6-r0 | ALPINE-CVE-2022-21703 |
| Go library | github.com/grafana/grafana/pkg/web | Fixed | 7.5.15 | GHSA-cmf4-h3xc-jw8w |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- grafana: affected: >= 3.0-beta1, < 7.5.15, >= 8.0.0, < 8.3.5
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
- https://github.com/grafana/grafana/security/advisories/GHSA-cmf4-h3xc-jw8w
- https://github.com/grafana/grafana/pull/45083
- https://security.netapp.com/advisory/ntap-20220303-0005/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.