An update for grafana is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2021-1445 Final 1.0 1.0 2021-11-26 Initial 2021-11-26 2021-11-26 openEuler SA Tool V1.0 2021-11-26 grafana security update An update for grafana is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2. Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, InfluxDB & OpenTSDB. Security Fix(es): Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.(CVE-2020-24303) A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML Authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.(CVE-2020-27846) The snapshot feature in Grafana 6.7.3 through 7.4.1 can allow an unauthenticated remote attackers to trigger a Denial of Service via a remote API call if a commonly used configuration is set.(CVE-2021-27358) One of the usage insights HTTP API endpoints in Grafana Enterprise 6.x before 6.7.6, 7.x before 7.3.10, and 7.4.x before 7.4.5 is accessible without any authentication. This allows any unauthenticated user to send an unlimited number of requests to the endpoint, leading to a denial of service (DoS) attack against a Grafana Enterprise instance.(CVE-2021-28148) The team sync HTTP API in Grafana Enterprise 6.x before 6.7.6, 7.x before 7.3.10, and 7.4.x before 7.4.5 has an Incorrect Access Control issue. On Grafana instances using an external authentication service and having the EditorsCanAdmin feature enabled, this vulnerability allows any authenticated user to add external groups to any existing team. This can be used to grant a user team permissions that the user isn't supposed to have.(CVE-2021-28147) Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to True (vs default of False), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.(CVE-2021-39226) An update for grafana is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2. openEuler Security has rated this update as having a security impact of critical. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. Critical grafana https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-24303 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-27846 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-27358 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-28148 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-28147 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-39226 https://nvd.nist.gov/vuln/detail/CVE-2020-24303 https://nvd.nist.gov/vuln/detail/CVE-2020-27846 https://nvd.nist.gov/vuln/detail/CVE-2021-27358 https://nvd.nist.gov/vuln/detail/CVE-2021-28148 https://nvd.nist.gov/vuln/detail/CVE-2021-28147 https://nvd.nist.gov/vuln/detail/CVE-2021-39226 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 grafana-7.5.11-1.oe1.aarch64.rpm grafana-debuginfo-7.5.11-1.oe1.aarch64.rpm grafana-debuginfo-7.5.11-1.oe1.aarch64.rpm grafana-7.5.11-1.oe1.aarch64.rpm grafana-7.5.11-1.oe1.src.rpm grafana-7.5.11-1.oe1.src.rpm grafana-debuginfo-7.5.11-1.oe1.x86_64.rpm grafana-7.5.11-1.oe1.x86_64.rpm grafana-7.5.11-1.oe1.x86_64.rpm grafana-debuginfo-7.5.11-1.oe1.x86_64.rpm Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource. 2021-11-26 CVE-2020-24303 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 Medium 6.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N grafana security update 2021-11-26 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445 A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML Authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. 2021-11-26 CVE-2020-27846 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 Critical 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H grafana security update 2021-11-26 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445 The snapshot feature in Grafana 6.7.3 through 7.4.1 can allow an unauthenticated remote attackers to trigger a Denial of Service via a remote API call if a commonly used configuration is set. 2021-11-26 CVE-2021-27358 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L grafana security update 2021-11-26 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445 One of the usage insights HTTP API endpoints in Grafana Enterprise 6.x before 6.7.6, 7.x before 7.3.10, and 7.4.x before 7.4.5 is accessible without any authentication. This allows any unauthenticated user to send an unlimited number of requests to the endpoint, leading to a denial of service (DoS) attack against a Grafana Enterprise instance. 2021-11-26 CVE-2021-28148 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H grafana security update 2021-11-26 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445 The team sync HTTP API in Grafana Enterprise 6.x before 6.7.6, 7.x before 7.3.10, and 7.4.x before 7.4.5 has an Incorrect Access Control issue. On Grafana instances using an external authentication service and having the EditorsCanAdmin feature enabled, this vulnerability allows any authenticated user to add external groups to any existing team. This can be used to grant a user team permissions that the user isn't supposed to have. 2021-11-26 CVE-2021-28147 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 Medium 6.5 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N grafana security update 2021-11-26 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445 Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to True (vs default of False), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects. 2021-11-26 CVE-2021-39226 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 High 7.3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L grafana security update 2021-11-26 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1445