Patchwire CVEs, their patch status, and feeds to follow them

CVE-2022-31107

Fixed in a distro release EPSS 3%CVSS 7.1

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.

Published 2022-07-15 · CVE record · OSV

Products: grafana

Fixed upstream

EcosystemPackageFixed in
Gogithub.com/grafana/grafana8.3.10
Gogithub.com/grafana/grafana8.4.10
Gogithub.com/grafana/grafana8.5.9
Gogithub.com/grafana/grafana9.0.3
Gogithub.com/grafana/grafanano fix

Distro releases

ReleasePackageFixed in
AlmaLinux:8grafana7.5.11-3.el8_6
AlmaLinux:9grafana7.5.11-5.el9_0
Chainguardgrafana-77.5.28-r0
Chainguardgrafana-fips-11.60
Chainguardgrafana-fips-12.012.0.10-r6
Chainguardgrafana-fips-12.112.1.10.01-r3
Chainguardgrafana-fips-12.20
Chainguardgrafana-fips-12.30
Chainguardgrafana-fips-12.40
Chainguardgrafana-fips-13.00
Chainguardgrafana-fips-13.113.1.0-r0
Red Hat:enterprise_linux:8grafana0:7.5.11-3.el8_6
Red Hat:enterprise_linux:8grafana-debuginfo0:7.5.11-3.el8_6
Red Hat:enterprise_linux:9grafana0:7.5.11-5.el9_0
Red Hat:enterprise_linux:9grafana-debuginfo0:7.5.11-5.el9_0
Red Hat:rhel_e4s:8.1grafana0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-azure-monitor0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-cloudwatch0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-debuginfo0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-elasticsearch0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-graphite0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-influxdb0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-loki0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-mssql0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-mysql0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-opentsdb0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-postgres0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-prometheus0:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1grafana-stackdriver0:6.2.2-9.el8_1
Red Hat:rhel_eus:8.2grafana0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-azure-monitor0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-cloudwatch0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-debuginfo0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-elasticsearch0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-graphite0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-influxdb0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-loki0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-mssql0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-mysql0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-opentsdb0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-postgres0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-prometheus0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.2grafana-stackdriver0:6.3.6-5.el8_2
Red Hat:rhel_eus:8.4grafana0:7.3.6-5.el8_4
Red Hat:rhel_eus:8.4grafana-debuginfo0:7.3.6-5.el8_4
Rocky Linux:8grafana0:7.5.11-3.el8_6
Rocky Linux:9grafana0:7.5.11-5.el9_0
SUSE:Enterprise Storage 6grafana8.5.13-150100.3.12.1
SUSE:Enterprise Storage 7bind9.16.6-150000.12.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSbind9.16.6-150000.12.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSbind9.16.6-150000.12.65.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOSgolang-github-prometheus-node_exporter1.3.0-150000.3.18.1
SUSE:Linux Enterprise High Performance Computing 15-LTSSgolang-github-prometheus-node_exporter1.3.0-150000.3.18.1
SUSE:Linux Enterprise Module for Package Hub 15 SP4grafana8.3.10-150200.3.26.1
SUSE:Linux Enterprise Module for Package Hub 15 SP4grafana8.5.13-150200.3.29.5
SUSE:Linux Enterprise Module for Package Hub 15 SP4grafana9.5.1-150200.3.41.3
SUSE:Linux Enterprise Module for Package Hub 15 SP5grafana9.5.1-150200.3.41.3
SUSE:Linux Enterprise Server 12 SP3-BCLgolang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:Linux Enterprise Server 12 SP4-LTSSgolang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:Linux Enterprise Server 12 SP5golang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:Linux Enterprise Server 15 SP1-LTSSbind9.16.6-150000.12.65.1
SUSE:Linux Enterprise Server 15 SP2-LTSSbind9.16.6-150000.12.65.1
SUSE:Linux Enterprise Server 15-LTSSgolang-github-prometheus-node_exporter1.3.0-150000.3.18.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4golang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5golang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:Linux Enterprise Server for SAP Applications 15golang-github-prometheus-node_exporter1.3.0-150000.3.18.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1bind9.16.6-150000.12.65.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2bind9.16.6-150000.12.65.1
SUSE:Manager Client Tools 12golang-github-boynux-squid_exporter1.6-1.9.1
SUSE:Manager Client Tools 12golang-github-lusitaniae-apache_exporter0.11.0-1.13.1
SUSE:Manager Client Tools 12golang-github-prometheus-alertmanager0.23.0-1.15.2
SUSE:Manager Client Tools 12golang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:Manager Client Tools 12grafana8.5.13-1.36.2
SUSE:Manager Client Tools 12grafana9.5.1-1.48.1
SUSE:Manager Client Tools 12grafana8.3.10-1.33.2
SUSE:Manager Client Tools 12kiwi-desc-saltboot0.1.1661440542.6cbe0da-1.29.1
SUSE:Manager Client Tools 12mgr-daemon4.3.7-1.41.1
SUSE:Manager Client Tools 12mgr-daemon4.3.6-1.38.1
SUSE:Manager Client Tools 12prometheus-blackbox_exporter0.19.0-1.14.1
SUSE:Manager Client Tools 12spacecmd4.3.16-38.112.1
SUSE:Manager Client Tools 12spacecmd4.3.15-38.109.1
SUSE:Manager Client Tools 12spacecmd4.3.21-38.121.1
SUSE:Manager Client Tools 12spacewalk-client-tools4.3.12-52.77.1
SUSE:Manager Client Tools 12spacewalk-client-tools4.3.13-52.80.1
SUSE:Manager Client Tools 12uyuni-common-libs4.3.6-1.27.1
SUSE:Manager Client Tools 12uyuni-common-libs4.3.8-1.33.1
SUSE:Manager Client Tools 12zypp-plugin-spacewalk1.0.14-30.42.1
SUSE:Manager Client Tools 12-BETAgolang-github-QubitProducts-exporter_exporter0.4.0-4.6.2
SUSE:Manager Client Tools 12-BETAgolang-github-boynux-squid_exporter1.6-4.9.2
SUSE:Manager Client Tools 12-BETAgolang-github-lusitaniae-apache_exporter1.0.0-4.12.4
SUSE:Manager Client Tools 12-BETAgolang-github-prometheus-alertmanager0.26.0-4.12.4
SUSE:Manager Client Tools 12-BETAgolang-github-prometheus-node_exporter1.5.0-4.15.4
SUSE:Manager Client Tools 12-BETAgolang-github-prometheus-prometheus2.45.0-4.33.3
SUSE:Manager Client Tools 12-BETAgolang-github-prometheus-promu0.14.0-4.12.2
SUSE:Manager Client Tools 12-BETAgrafana9.5.8-4.21.2
SUSE:Manager Client Tools 12-BETAkiwi-desc-saltboot0.1.1687520761.cefb248-4.15.2
SUSE:Manager Client Tools 12-BETAmgr-push5.0.1-4.21.4
SUSE:Manager Client Tools 12-BETAprometheus-blackbox_exporter0.24.0-3.6.3
SUSE:Manager Client Tools 12-BETAprometheus-postgres_exporter0.10.1-3.6.4
SUSE:Manager Client Tools 12-BETApython-hwdata2.3.5-15.12.2
SUSE:Manager Client Tools 12-BETArhnlib5.0.1-24.30.3
SUSE:Manager Client Tools 12-BETAspacecmd5.0.1-41.42.3
SUSE:Manager Client Tools 12-BETAsupportutils-plugin-salt1.2.2-9.9.2
SUSE:Manager Client Tools 12-BETAsupportutils-plugin-susemanager-client5.0.1-9.15.2
SUSE:Manager Client Tools 12-BETAsystem-user-grafana1.0.0-3.7.2
SUSE:Manager Client Tools 12-BETAsystem-user-prometheus1.0.0-3.7.2
SUSE:Manager Client Tools 12-BETAuyuni-common-libs5.0.1-3.33.3
SUSE:Manager Client Tools 15dracut-saltboot0.1.1661440542.6cbe0da-150000.1.38.1
SUSE:Manager Client Tools 15dracut-saltboot0.1.1681904360.84ef141-150000.1.50.1
SUSE:Manager Client Tools 15dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
SUSE:Manager Client Tools 15golang-github-boynux-squid_exporter1.6-150000.1.9.1
SUSE:Manager Client Tools 15golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
SUSE:Manager Client Tools 15grafana8.5.13-150000.1.36.3
SUSE:Manager Client Tools 15grafana9.5.1-150000.1.48.5
SUSE:Manager Client Tools 15grafana8.3.10-150000.1.33.1
SUSE:Manager Client Tools 15mgr-daemon4.3.6-150000.1.38.1
SUSE:Manager Client Tools 15mgr-daemon4.3.7-150000.1.41.1
SUSE:Manager Client Tools 15prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE:Manager Client Tools 15spacecmd4.3.21-150000.3.98.1
SUSE:Manager Client Tools 15spacecmd4.3.16-150000.3.89.1
SUSE:Manager Client Tools 15spacecmd4.3.15-150000.3.86.1
SUSE:Manager Client Tools 15spacewalk-client-tools4.3.12-150000.3.68.2
SUSE:Manager Client Tools 15spacewalk-client-tools4.3.13-150000.3.71.3
SUSE:Manager Client Tools 15uyuni-common-libs4.3.8-150000.1.33.1
SUSE:Manager Client Tools 15uyuni-common-libs4.3.6-150000.1.27.2
SUSE:Manager Client Tools 15uyuni-proxy-systemd-services4.3.7-150000.1.9.3
SUSE:Manager Client Tools 15zypp-plugin-spacewalk1.0.14-150000.3.35.1
SUSE:Manager Client Tools 15-BETAansible2.9.27-159000.3.9.1
SUSE:Manager Client Tools 15-BETAdracut-saltboot0.1.1681904360.84ef141-159000.3.30.1
SUSE:Manager Client Tools 15-BETAgolang-github-QubitProducts-exporter_exporter0.4.0-159000.4.6.1
SUSE:Manager Client Tools 15-BETAgolang-github-boynux-squid_exporter1.6-159000.4.9.1
SUSE:Manager Client Tools 15-BETAgolang-github-lusitaniae-apache_exporter1.0.0-159000.4.12.1
SUSE:Manager Client Tools 15-BETAgolang-github-prometheus-prometheus2.45.0-159000.6.33.1
SUSE:Manager Client Tools 15-BETAgrafana9.5.8-159000.4.24.1
SUSE:Manager Client Tools 15-BETAmgr-push5.0.1-159000.4.21.1
SUSE:Manager Client Tools 15-BETAprometheus-blackbox_exporter0.24.0-159000.3.6.1
SUSE:Manager Client Tools 15-BETAprometheus-postgres_exporter0.10.1-159000.3.6.1
SUSE:Manager Client Tools 15-BETApython-hwdata2.3.5-159000.5.13.1
SUSE:Manager Client Tools 15-BETApython-pyvmomi6.7.3-159000.3.6.1
SUSE:Manager Client Tools 15-BETArhnlib5.0.1-159000.6.30.1
SUSE:Manager Client Tools 15-BETAspacecmd5.0.1-159000.6.42.1
SUSE:Manager Client Tools 15-BETAspacewalk-client-tools5.0.1-159000.6.48.1
SUSE:Manager Client Tools 15-BETAsupportutils-plugin-salt1.2.2-159000.5.9.1
SUSE:Manager Client Tools 15-BETAsupportutils-plugin-susemanager-client5.0.1-159000.6.15.1
SUSE:Manager Client Tools 15-BETAuyuni-common-libs5.0.1-159000.3.33.1
SUSE:Manager Client Tools 15-BETAuyuni-proxy-systemd-services5.0.1-159000.3.9.1
SUSE:Manager Client Tools Beta for SLE Micro 5dracut-saltboot0.1.1681904360.84ef141-159000.3.30.1
SUSE:Manager Client Tools Beta for SLE Micro 5golang-github-QubitProducts-exporter_exporter0.4.0-159000.4.6.1
SUSE:Manager Client Tools Beta for SLE Micro 5prometheus-blackbox_exporter0.24.0-159000.3.6.1
SUSE:Manager Client Tools Beta for SLE Micro 5uyuni-proxy-systemd-services5.0.1-159000.3.9.1
SUSE:Manager Client Tools for SLE Micro 5bind9.16.6-150000.12.65.1
SUSE:Manager Client Tools for SLE Micro 5dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
SUSE:Manager Client Tools for SLE Micro 5dracut-saltboot0.1.1681904360.84ef141-150000.1.50.1
SUSE:Manager Client Tools for SLE Micro 5prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE:Manager Client Tools for SLE Micro 5uyuni-proxy-systemd-services4.3.7-150000.1.9.3
SUSE:Manager Proxy Module 4.2golang-github-boynux-squid_exporter1.6-150000.1.9.1
SUSE:Manager Proxy Module 4.2golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
SUSE:Manager Proxy Module 4.2prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE:Manager Proxy Module 4.2zypp-plugin-spacewalk1.0.14-150000.3.35.1
SUSE:Manager Proxy Module 4.3golang-github-boynux-squid_exporter1.6-150000.1.9.1
SUSE:Manager Proxy Module 4.3golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
SUSE:Manager Proxy Module 4.3prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE:Manager Proxy Module 4.3zypp-plugin-spacewalk1.0.14-150000.3.35.1
SUSE:Manager Server Module 4.2golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
SUSE:Manager Server Module 4.3golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
SUSE:OpenStack Cloud 9golang-github-prometheus-node_exporter1.3.0-1.21.1
SUSE:OpenStack Cloud Crowbar 9golang-github-prometheus-node_exporter1.3.0-1.21.1
Ubuntu:16.04:LTSgrafanano fix
openSUSE:Leap 15.3dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
openSUSE:Leap 15.3dracut-saltboot0.1.1661440542.6cbe0da-150000.1.38.1
openSUSE:Leap 15.3golang-github-boynux-squid_exporter1.6-150000.1.9.1
openSUSE:Leap 15.3golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
openSUSE:Leap 15.3golang-github-prometheus-promu0.13.0-150000.3.9.1
openSUSE:Leap 15.3grafana8.5.13-150200.3.29.5
openSUSE:Leap 15.3grafana8.3.10-150200.3.26.1
openSUSE:Leap 15.3spacecmd4.3.15-150000.3.86.1
openSUSE:Leap 15.3spacecmd4.3.16-150000.3.89.1
openSUSE:Leap 15.4bind9.16.6-150000.12.65.1
openSUSE:Leap 15.4dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
openSUSE:Leap 15.4dracut-saltboot0.1.1661440542.6cbe0da-150000.1.38.1
openSUSE:Leap 15.4dracut-saltboot0.1.1681904360.84ef141-150000.1.50.1
openSUSE:Leap 15.4golang-github-boynux-squid_exporter1.6-150000.1.9.1
openSUSE:Leap 15.4golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1
openSUSE:Leap 15.4golang-github-prometheus-promu0.13.0-150000.3.9.1
openSUSE:Leap 15.4grafana9.5.1-150200.3.41.3
openSUSE:Leap 15.4grafana8.3.10-150200.3.26.1
openSUSE:Leap 15.4grafana8.5.13-150200.3.29.5
openSUSE:Leap 15.4prometheus-blackbox_exporter0.19.0-150000.1.14.3
openSUSE:Leap 15.4spacecmd4.3.15-150000.3.86.1
openSUSE:Leap 15.4spacecmd4.3.16-150000.3.89.1
openSUSE:Leap 15.4spacecmd4.3.21-150000.3.98.1
openSUSE:Leap 15.4wire0.5.0-150000.1.9.3
openSUSE:Leap 15.4wire0.5.0-150000.1.12.3
openSUSE:Leap 15.5dracut-saltboot0.1.1681904360.84ef141-150000.1.50.1
openSUSE:Leap 15.5grafana9.5.1-150200.3.41.3
openSUSE:Leap 15.5spacecmd4.3.21-150000.3.98.1
openSUSE:Leap 15.5wire0.5.0-150000.1.12.3
openSUSE:Tumbleweedgrafana8.3.10-1.1