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

Bug 877097 (CVE-2022-31123, CVE-2022-31130, CVE-2022-39201, CVE-2022-39229)

Summary: <www-apps/grafana-bin-{8.5.14,9.1.8}: multiple vulnerabilities
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: trivial CC: patrick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~4 [noglsa]
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-10-14 16:01:38 UTC
CVE-2022-39201 (https://github.com/grafana/grafana/security/advisories/GHSA-x744-mm8v-vpgr):

Grafana is an open source observability and data visualization platform. Starting with version 5.0.0-beta1 and prior to versions 8.5.14 and 9.1.8, Grafana could leak the authentication cookie of users to plugins. The vulnerability impacts data source and plugin proxy endpoints under certain conditions. The destination plugin could receive a user's Grafana authentication cookie. Versions 9.1.8 and 8.5.14 contain a patch for this issue. There are no known workarounds.

CVE-2022-39229 (https://github.com/grafana/grafana/security/advisories/GHSA-gj7m-853r-289r):

Grafana is an open source data visualization platform for metrics, logs, and traces. Versions prior to 9.1.8 and 8.5.14 allow one user to block another user's login attempt by registering someone else'e email address as a username. A Grafana user’s username and email address are unique fields, that means no other user can have the same username or email address as another user. A user can have an email address as a username. However, the login system allows users to log in with either username or email address. Since Grafana allows a user to log in with either their username or email address, this creates an usual behavior where `user_1` can register with one email address and `user_2` can register their username as `user_1`’s email address. This prevents `user_1` logging into the application since `user_1`'s password won’t match with `user_2`'s email address. Versions 9.1.8 and 8.5.14 contain a patch. There are no workarounds for this issue.

CVE-2022-31130 (https://github.com/grafana/grafana/security/advisories/GHSA-jv32-5578-pxjc):

Grafana is an open source observability and data visualization platform. Versions of Grafana for endpoints prior to 9.1.8 and 8.5.14 could leak authentication tokens to some destination plugins under some conditions. The vulnerability impacts data source and plugin proxy endpoints with authentication tokens. The destination plugin could receive a user's Grafana authentication token. Versions 9.1.8 and 8.5.14 contain a patch for this issue. As a workaround, do not use API keys, JWT authentication, or any HTTP Header based authentication.

CVE-2022-31123 (https://github.com/grafana/grafana/security/advisories/GHSA-rhxj-gh46-jvw8):

Grafana is an open source observability and data visualization platform. Versions prior to 9.1.8 and 8.5.14 are vulnerable to a bypass in the plugin signature verification. An attacker can convince a server admin to download and successfully run a malicious plugin even though unsigned plugins are not allowed. Versions 9.1.8 and 8.5.14 contain a patch for this issue. As a workaround, do not install plugins downloaded from untrusted sources.

Please cleanup.
Comment 1 Larry the Git Cow gentoo-dev 2022-11-10 01:50:44 UTC
The bug has been referenced in the following commit(s):

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

commit f3372327fcbb60401503751c4ab58f8ef272204a
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-11-10 01:49:35 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-11-10 01:50:13 +0000

    www-apps/grafana-bin: drop 8.5.14, 9.0.9, 9.1.8, 9.2.0
    
    Bug: https://bugs.gentoo.org/877097
    Bug: https://bugs.gentoo.org/879025
    Bug: https://bugs.gentoo.org/880551
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 www-apps/grafana-bin/Manifest                  |  4 --
 www-apps/grafana-bin/grafana-bin-8.5.14.ebuild | 66 --------------------------
 www-apps/grafana-bin/grafana-bin-9.0.9.ebuild  | 66 --------------------------
 www-apps/grafana-bin/grafana-bin-9.1.8.ebuild  | 66 --------------------------
 www-apps/grafana-bin/grafana-bin-9.2.0.ebuild  | 66 --------------------------
 5 files changed, 268 deletions(-)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-10 01:51:35 UTC
All done.