Upstream information

CVE-2022-31107 at MITRE

Description

Grafana is an open-source platform for monitoring and observability. In versions 5.3 until 9.0.3, 8.5.9, 8.4.10, and 8.3.10, it is possible for a malicious user who has authorization to log into a Grafana instance via a configured OAuth IdP which provides a login name to take over the account of another user in that Grafana instance. This can occur when the malicious user is authorized to log in to Grafana via OAuth, the malicious user's external user id is not already associated with an account in Grafana, the malicious user's email address is not already associated with an account in Grafana, and the malicious user knows the Grafana username of the target user. If these conditions are met, the malicious user can set their username in the OAuth provider to that of the target user, then go through the OAuth flow to log in to Grafana. Due to the way that external and internal user accounts are linked together during login, if the conditions above are all met then the malicious user will be able to log in to the target user's Grafana account. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch for this issue. As a workaround, concerned users can disable OAuth login to their Grafana instance, or ensure that all users authorized to log in via OAuth have a corresponding user account in Grafana linked to their email address.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.1
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
Attack Vector Network Network
Attack Complexity High High
Privileges Required Low Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1201539 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container ses/7.1/ceph/grafana:8.5.15.2.2.393
  • grafana >= 8.5.13-150200.3.29.5
SUSE Enterprise Storage 6
  • grafana >= 8.5.13-150100.3.12.1
Patchnames:
SUSE-Storage-6-2022-3676
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Package Hub 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • grafana >= 8.5.13-150200.3.29.5
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2022-3765
SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2022-4428
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-150000.3.18.1
Patchnames:
SUSE-SLE-Product-HPC-15-2022-3751
SUSE Linux Enterprise Server 12 SP3-BCL
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2022-3747
SUSE Linux Enterprise Server 12 SP4-ESPOS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-ESPOS-2022-3747
SUSE Linux Enterprise Server 12 SP4-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-LTSS-2022-3747
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2022-3747
SUSE Linux Enterprise Server 15-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-150000.3.18.1
Patchnames:
SUSE-SLE-Product-SLES-15-2022-3751
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-SLE-SAP-12-SP4-2022-3747
SUSE Linux Enterprise Server for SAP Applications 15
  • golang-github-prometheus-node_exporter >= 1.3.0-150000.3.18.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2022-3751
SUSE Manager Proxy Module 4.2
  • golang-github-boynux-squid_exporter >= 1.6-150000.1.9.1
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
  • prometheus-blackbox_exporter >= 0.19.0-150000.1.14.3
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Proxy-4.2-2022-3751
SUSE-SLE-Module-SUSE-Manager-Proxy-4.2-2022-4437
SUSE Manager Proxy Module 4.3
  • golang-github-boynux-squid_exporter >= 1.6-150000.1.9.1
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
  • prometheus-blackbox_exporter >= 0.19.0-150000.1.14.3
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Proxy-4.3-2022-3751
SUSE-SLE-Module-SUSE-Manager-Proxy-4.3-2022-4437
SUSE Manager Server Module 4.2
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Server-4.2-2022-3751
SUSE Manager Server Module 4.3
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Server-4.3-2022-3751
SUSE Manager Tools 12
  • golang-github-boynux-squid_exporter >= 1.6-1.9.1
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-1.13.1
  • golang-github-prometheus-alertmanager >= 0.23.0-1.15.2
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
  • grafana >= 8.5.13-1.36.2
  • kiwi-desc-saltboot >= 0.1.1661440542.6cbe0da-1.29.1
  • mgr-daemon >= 4.3.6-1.38.1
  • prometheus-blackbox_exporter >= 0.19.0-1.14.1
  • python2-spacewalk-check >= 4.3.13-52.80.1
  • python2-spacewalk-client-setup >= 4.3.13-52.80.1
  • python2-spacewalk-client-tools >= 4.3.13-52.80.1
  • python2-uyuni-common-libs >= 4.3.6-1.27.1
  • spacecmd >= 4.3.16-38.112.1
  • spacewalk-check >= 4.3.13-52.80.1
  • spacewalk-client-setup >= 4.3.13-52.80.1
  • spacewalk-client-tools >= 4.3.13-52.80.1
Patchnames:
SUSE-SLE-Manager-Tools-12-2022-3747
SUSE-SLE-Manager-Tools-12-2022-4439
SUSE Manager Tools 15
  • dracut-saltboot >= 0.1.1665997480.587fa10-150000.1.41.1
  • golang-github-boynux-squid_exporter >= 1.6-150000.1.9.1
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
  • grafana >= 8.5.13-150000.1.36.3
  • mgr-daemon >= 4.3.6-150000.1.38.1
  • prometheus-blackbox_exporter >= 0.19.0-150000.1.14.3
  • python3-spacewalk-check >= 4.3.13-150000.3.71.3
  • python3-spacewalk-client-setup >= 4.3.13-150000.3.71.3
  • python3-spacewalk-client-tools >= 4.3.13-150000.3.71.3
  • python3-uyuni-common-libs >= 4.3.6-150000.1.27.2
  • spacecmd >= 4.3.16-150000.3.89.1
  • spacewalk-check >= 4.3.13-150000.3.71.3
  • spacewalk-client-setup >= 4.3.13-150000.3.71.3
  • spacewalk-client-tools >= 4.3.13-150000.3.71.3
  • uyuni-proxy-systemd-services >= 4.3.7-150000.1.9.3
Patchnames:
SUSE-SLE-Manager-Tools-15-2022-3751
SUSE-SLE-Manager-Tools-15-2022-4437
SUSE Manager Tools for SLE Micro 5
  • dracut-saltboot >= 0.1.1665997480.587fa10-150000.1.41.1
  • prometheus-blackbox_exporter >= 0.19.0-150000.1.14.3
  • uyuni-proxy-systemd-services >= 4.3.7-150000.1.9.3
Patchnames:
SUSE-SLE-Manager-Tools-For-Micro-5-2022-4437
SUSE OpenStack Cloud 9
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-OpenStack-Cloud-9-2022-3747
SUSE OpenStack Cloud Crowbar 9
  • golang-github-prometheus-node_exporter >= 1.3.0-1.21.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2022-3747
openSUSE Leap 15.3
  • dracut-saltboot >= 0.1.1665997480.587fa10-150000.1.41.1
  • golang-github-boynux-squid_exporter >= 1.6-150000.1.9.1
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
  • golang-github-prometheus-promu >= 0.13.0-150000.3.9.1
  • grafana >= 8.5.13-150200.3.29.5
  • spacecmd >= 4.3.16-150000.3.89.1
Patchnames:
openSUSE-SLE-15.3-2022-3751
openSUSE-SLE-15.3-2022-3765
openSUSE-SLE-15.3-2022-4428
openSUSE-SLE-15.3-2022-4437
openSUSE Leap 15.4
  • dracut-saltboot >= 0.1.1665997480.587fa10-150000.1.41.1
  • golang-github-boynux-squid_exporter >= 1.6-150000.1.9.1
  • golang-github-lusitaniae-apache_exporter >= 0.11.0-150000.1.12.1
  • golang-github-prometheus-promu >= 0.13.0-150000.3.9.1
  • grafana >= 8.5.13-150200.3.29.5
  • prometheus-blackbox_exporter >= 0.19.0-150000.1.14.3
  • spacecmd >= 4.3.16-150000.3.89.1
  • wire >= 0.5.0-150000.1.9.3
Patchnames:
openSUSE-SLE-15.4-2022-3751
openSUSE-SLE-15.4-2022-3765
openSUSE-SLE-15.4-2022-4428
openSUSE-SLE-15.4-2022-4437
openSUSE Tumbleweed
  • grafana >= 8.3.10-1.1
Patchnames:
openSUSE Tumbleweed GA grafana-8.3.10-1.1

List of packages in QA

Product(s) Package(s)
SUSE Linux Enterprise Module for Package Hub 15 SP4
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Server 15 SP4
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Desktop 15 SP4
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise High Performance Computing 15 SP4
  • grafana >= 9.5.1-150200.3.41.3
SUSE Manager Server 4.3
  • grafana >= 9.5.1-150200.3.41.3
SUSE Manager Proxy 4.3
  • grafana >= 9.5.1-150200.3.41.3
SUSE Manager Retail Branch Server 4.3
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Module for Package Hub 15 SP5
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Server 15 SP5
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Desktop 15 SP5
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • grafana >= 9.5.1-150200.3.41.3
SUSE Linux Enterprise High Performance Computing 15 SP5
  • grafana >= 9.5.1-150200.3.41.3
SUSE Manager Proxy Module 4.2
  • python3-zypp-plugin-spacewalk >= 1.0.14-150000.3.35.1
  • zypp-plugin-spacewalk >= 1.0.14-150000.3.35.1
SUSE Manager Proxy Module 4.3
  • python3-zypp-plugin-spacewalk >= 1.0.14-150000.3.35.1
  • zypp-plugin-spacewalk >= 1.0.14-150000.3.35.1
SUSE Manager Tools 12
  • grafana >= 9.5.1-1.48.1
  • mgr-daemon >= 4.3.7-1.41.1
  • python2-uyuni-common-libs >= 4.3.8-1.33.1
  • python2-zypp-plugin-spacewalk >= 1.0.14-30.42.1
  • spacecmd >= 4.3.21-38.121.1
  • zypp-plugin-spacewalk >= 1.0.14-30.42.1
SUSE Manager Tools 15
  • dracut-saltboot >= 0.1.1681904360.84ef141-150000.1.50.1
  • grafana >= 9.5.1-150000.1.48.4
  • mgr-daemon >= 4.3.7-150000.1.41.1
  • python3-uyuni-common-libs >= 4.3.8-150000.1.33.1
  • python3-zypp-plugin-spacewalk >= 1.0.14-150000.3.35.1
  • spacecmd >= 4.3.21-150000.3.98.1
  • zypp-plugin-spacewalk >= 1.0.14-150000.3.35.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP4 grafana In progress
SUSE Linux Enterprise Desktop 15 SP5 grafana In progress
SUSE Linux Enterprise High Performance Computing 15 SP4 grafana In progress
SUSE Linux Enterprise High Performance Computing 15 SP5 grafana In progress
SUSE Linux Enterprise Module for Package Hub 15 SP4 grafana In progress
SUSE Linux Enterprise Server 12 SP5 golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server 15 SP4 grafana In progress
SUSE Linux Enterprise Server 15 SP5 grafana In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 grafana In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP5 grafana In progress
SUSE Manager Client Tools Beta for SLE 12 grafana Ignore
SUSE Manager Client Tools Beta for SLE 15 grafana Ignore
SUSE Manager Client Tools for SLE 12 grafana Released
SUSE Manager Client Tools for SLE 15 grafana Released
SUSE Manager Proxy 4.3 grafana In progress
SUSE Manager Proxy Module 4.2 golang-github-boynux-squid_exporter Released
SUSE Manager Proxy Module 4.2 golang-github-lusitaniae-apache_exporter Released
SUSE Manager Proxy Module 4.2 prometheus-blackbox_exporter Released
SUSE Manager Proxy Module 4.2 zypp-plugin-spacewalk In progress
SUSE Manager Proxy Module 4.3 golang-github-boynux-squid_exporter Released
SUSE Manager Proxy Module 4.3 golang-github-lusitaniae-apache_exporter Released
SUSE Manager Proxy Module 4.3 prometheus-blackbox_exporter Released
SUSE Manager Proxy Module 4.3 zypp-plugin-spacewalk In progress
SUSE Manager Retail Branch Server 4.3 grafana In progress
SUSE Manager Server 4.3 grafana In progress
SUSE Manager Server Module 4.2 golang-github-lusitaniae-apache_exporter Released
SUSE Manager Server Module 4.3 golang-github-lusitaniae-apache_exporter Released
SUSE Manager Tools 12 golang-github-boynux-squid_exporter Released
SUSE Manager Tools 12 golang-github-lusitaniae-apache_exporter Released
SUSE Manager Tools 12 golang-github-prometheus-alertmanager Released
SUSE Manager Tools 12 golang-github-prometheus-node_exporter Released
SUSE Manager Tools 12 grafana In progress
SUSE Manager Tools 12 kiwi-desc-saltboot Released
SUSE Manager Tools 12 mgr-daemon In progress
SUSE Manager Tools 12 prometheus-blackbox_exporter Released
SUSE Manager Tools 12 spacecmd In progress
SUSE Manager Tools 12 spacewalk-client-tools Released
SUSE Manager Tools 12 uyuni-common-libs In progress
SUSE Manager Tools 12 zypp-plugin-spacewalk In progress
SUSE Manager Tools 15 dracut-saltboot In progress
SUSE Manager Tools 15 golang-github-boynux-squid_exporter Released
SUSE Manager Tools 15 golang-github-lusitaniae-apache_exporter Released
SUSE Manager Tools 15 grafana In progress
SUSE Manager Tools 15 mgr-daemon In progress
SUSE Manager Tools 15 prometheus-blackbox_exporter Released
SUSE Manager Tools 15 spacecmd In progress
SUSE Manager Tools 15 spacewalk-client-tools Released
SUSE Manager Tools 15 uyuni-common-libs In progress
SUSE Manager Tools 15 uyuni-proxy-systemd-services Released
SUSE Manager Tools 15 zypp-plugin-spacewalk In progress
SUSE Manager Tools 15 SP1 grafana Released
SUSE Manager Tools for SLE Micro 5 dracut-saltboot Released
SUSE Manager Tools for SLE Micro 5 prometheus-blackbox_exporter Released
SUSE Manager Tools for SLE Micro 5 uyuni-proxy-systemd-services Released
SUSE Package Hub 15 SP4 grafana Released
openSUSE Leap 15.4 grafana Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15-ESPOS golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise High Performance Computing 15-LTSS golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server 12 SP4-LTSS golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server for SAP Applications 15 golang-github-prometheus-node_exporter Released
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 grafana Won't fix
SUSE Enterprise Storage 6 grafana Released
SUSE Linux Enterprise Server 12 SP3-BCL golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server 12 SP4-ESPOS golang-github-prometheus-node_exporter Released
SUSE Linux Enterprise Server 15-LTSS golang-github-prometheus-node_exporter Released
SUSE OpenStack Cloud 8 grafana Won't fix
SUSE OpenStack Cloud 9 golang-github-prometheus-node_exporter Released
SUSE OpenStack Cloud 9 grafana Won't fix
SUSE OpenStack Cloud Crowbar 8 grafana Won't fix
SUSE OpenStack Cloud Crowbar 9 golang-github-prometheus-node_exporter Released
SUSE OpenStack Cloud Crowbar 9 grafana Won't fix
Products at an unknown state of their lifecycle.
SUSE Linux Enterprise Module for Package Hub 15 SP5 grafana In progress
Container Status
ses/7.1/ceph/grafana grafanaReleased
ses/7/ceph/grafana grafanaIn progress


SUSE Timeline for this CVE

CVE page created: Fri Jul 15 06:00:14 2022
CVE page last modified: Wed Jun 7 12:02:10 2023