OESA-2022-1870

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1870
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1870.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1870
Upstream
Published
2022-08-26T11:04:12Z
Modified
2025-08-12T05:13:46.389632Z
Summary
grafana security update
Details

Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, InfluxDB & OpenTSDB.

Security Fix(es):

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.(CVE-2022-31107)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / grafana

Package

Name
grafana
Purl
pkg:rpm/openEuler/grafana&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.15-3.oe1

Ecosystem specific

{
    "aarch64": [
        "grafana-7.5.15-3.oe1.aarch64.rpm",
        "grafana-debuginfo-7.5.15-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "grafana-debuginfo-7.5.15-3.oe1.x86_64.rpm",
        "grafana-7.5.15-3.oe1.x86_64.rpm"
    ],
    "src": [
        "grafana-7.5.15-3.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / grafana

Package

Name
grafana
Purl
pkg:rpm/openEuler/grafana&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.15-3.oe1

Ecosystem specific

{
    "aarch64": [
        "grafana-7.5.15-3.oe1.aarch64.rpm",
        "grafana-debuginfo-7.5.15-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "grafana-debuginfo-7.5.15-3.oe1.x86_64.rpm",
        "grafana-7.5.15-3.oe1.x86_64.rpm"
    ],
    "src": [
        "grafana-7.5.15-3.oe1.src.rpm"
    ]
}

openEuler:22.03-LTS / grafana

Package

Name
grafana
Purl
pkg:rpm/openEuler/grafana&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.15-3.oe2203

Ecosystem specific

{
    "aarch64": [
        "grafana-7.5.15-3.oe2203.aarch64.rpm",
        "grafana-debuginfo-7.5.15-3.oe2203.aarch64.rpm"
    ],
    "x86_64": [
        "grafana-7.5.15-3.oe2203.x86_64.rpm",
        "grafana-debuginfo-7.5.15-3.oe2203.x86_64.rpm"
    ],
    "src": [
        "grafana-7.5.15-3.oe2203.src.rpm"
    ]
}