CVE-2022-35957Authentication Bypass in Grafana via auth proxy allowing escalation from admin to server…
Grafana is an open-source platform for monitoring and observability. Versions prior to 9.1.6 and 8.5.13 are vulnerable to an escalation from admin to server admin when auth proxy is used, allowing an admin to take over the server admin account and gain full control of the grafana instance. All installations should be upgraded as soon as possible. As a workaround deactivate auth proxy following the instructions at: https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/auth-proxy/
What to do
Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat: see the table below for the fixed version per release.
Red Hat, Ubuntu have 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-35957 | |
| Red Hat Enterprise Linux 9 | grafana | Fixed | 0:9.0.9-2.el9 | RHSA-2023:2167 |
| Red Hat Enterprise Linux 8 | grafana | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Fix pending Affected | ||
| AlmaLinux 9 | grafana | Fixed | 9.0.9-2.el9 | ALSA-2023:2167 |
| Alpine Linux 3.16 | grafana | Fixed | 8.5.13-r0 | ALPINE-CVE-2022-35957 |
| Go library | github.com/grafana/grafana | Fixed | 8.5.13 | GO-2024-2847 |
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: > 9.0.0, < 9.1.6, < 8.5.13
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/grafana/grafana/security/advisories/GHSA-ff5c-938w-8c9q
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYU5C2RITLHVZSTCWNGQWA6KSPYNXM2H/
- https://security.netapp.com/advisory/ntap-20221215-0001/
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.