Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831438 (CVE-2022-21673)

Summary: www-apps/grafana-bin: oauth authorization confusion
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: patrick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4
Whiteboard: ~4 [noglsa]
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-01-19 02:34:34 UTC
CVE-2022-21673:

Grafana is an open-source platform for monitoring and observability. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.

Please bump.
Comment 1 Larry the Git Cow gentoo-dev 2022-01-19 07:32:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7e0008fe3722d6813536384dc952a9c52b26e5

commit 2f7e0008fe3722d6813536384dc952a9c52b26e5
Author:     Patrick Lauer <patrick@gentoo.org>
AuthorDate: 2022-01-19 07:17:50 +0000
Commit:     Patrick Lauer <patrick@gentoo.org>
CommitDate: 2022-01-19 07:32:11 +0000

    www-apps/grafana-bin: Bump
    
    Bug: https://bugs.gentoo.org/831438
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

 www-apps/grafana-bin/Manifest                                         | 4 ++--
 .../{grafana-bin-7.5.12.ebuild => grafana-bin-7.5.13.ebuild}          | 2 +-
 .../{grafana-bin-8.3.2.ebuild => grafana-bin-8.3.4.ebuild}            | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-01-19 14:03:30 UTC
Thanks!