Grafana Grafana Labs Grafana

Do you want an email whenever new security vulnerabilities are reported in Grafana Labs Grafana?

By the Year

In 2021 there have been 8 vulnerabilities in Grafana Labs Grafana with an average score of 7.2 out of ten. Last year Grafana had 10 security vulnerabilities published. Right now, Grafana is on track to have less security vulnerabilities in 2021 than it did last year. However, the average CVE base score of the vulnerabilities in 2021 is greater by 0.60.

Year Vulnerabilities Average Score
2021 8 7.20
2020 10 6.60
2019 3 5.93
2018 4 6.95

It may take a day or so for new Grafana vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Grafana Labs Grafana Security Vulnerabilities

Grafana is an open-source platform for monitoring and observability

CVE-2021-41244 9.1 - Critical - November 15, 2021

Grafana is an open-source platform for monitoring and observability. In affected versions when the fine-grained access control beta feature is enabled and there is more than one organization in the Grafana instance admins are able to access users from other organizations. Grafana 8.0 introduced a mechanism which allowed users with the Organization Admin role to list, add, remove, and update users roles in other organizations in which they are not an admin. With fine-grained access control enabled, organization admins can list, add, remove and update users' roles in another organization, where they do not have organization admin role. All installations between v8.0 and v8.2.3 that have fine-grained access control beta enabled and more than one organization should be upgraded as soon as possible. If you cannot upgrade, you should turn off the fine-grained access control using a feature flag.

Externally Controlled Reference to a Resource in Another Sphere

Grafana is an open-source platform for monitoring and observability

CVE-2021-41174 6.1 - Medium - November 03, 2021

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(alert(1))()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.

XSS

Grafana is an open source data visualization platform

CVE-2021-39226 7.3 - High - October 05, 2021

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.

authentification

One of the usage insights HTTP API endpoints in Grafana Enterprise 6.x before 6.7.6

CVE-2021-28148 7.5 - High - March 22, 2021

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.

authentification

The team sync HTTP API in Grafana Enterprise 6.x before 6.7.6

CVE-2021-28147 6.5 - Medium - March 22, 2021

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.

The team sync HTTP API in Grafana Enterprise 7.4.x before 7.4.5 has an Incorrect Access Control issue

CVE-2021-28146 6.5 - Medium - March 22, 2021

The team sync HTTP API in Grafana Enterprise 7.4.x before 7.4.5 has an Incorrect Access Control issue. On Grafana instances using an external authentication service, this vulnerability allows any authenticated user to add external groups to existing teams. This can be used to grant a user team permissions that the user isn't supposed to have.

AuthZ

Grafana Enterprise 7.2.x and 7.3.x before 7.3.10 and 7.4.x before 7.4.5

CVE-2021-27962 7.1 - High - March 22, 2021

Grafana Enterprise 7.2.x and 7.3.x before 7.3.10 and 7.4.x before 7.4.5 allows a dashboard editor to bypass a permission check concerning a data source they should not be able to access.

Incorrect Permission Assignment for Critical Resource

The snapshot feature in Grafana 6.7.3 through 7.4.1 can

CVE-2021-27358 7.5 - High - March 18, 2021

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.

A signature verification vulnerability exists in crewjam/saml

CVE-2020-27846 9.8 - Critical - December 21, 2020

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.

Misinterpretation of Input

Grafana before 7.1.0-beta 1

CVE-2020-24303 6.1 - Medium - October 28, 2020

Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.

XSS

Grafana <= 6.4.3 has an Arbitrary File Read vulnerability, which could be exploited by an authenticated attacker

CVE-2019-19499 6.5 - Medium - August 28, 2020

Grafana <= 6.4.3 has an Arbitrary File Read vulnerability, which could be exploited by an authenticated attacker that has privileges to modify the data source configurations.

Information Disclosure

Grafana through 6.7.1 allows stored XSS due to insufficient input protection in the originalUrl field, which allows an attacker to inject JavaScript code

CVE-2020-11110 6.1 - Medium - July 27, 2020

Grafana through 6.7.1 allows stored XSS due to insufficient input protection in the originalUrl field, which allows an attacker to inject JavaScript code that will be executed after clicking on Open Original Dashboard after visiting the snapshot.

XSS

The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue

CVE-2020-13379 8.2 - High - June 03, 2020

The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. This vulnerability allows any unauthenticated user/client to make Grafana send HTTP requests to any URL and return its result to the user/client. This can be used to gain information about the network that Grafana is running on. Furthermore, passing invalid URL objects could be used for DOS'ing Grafana via SegFault.

XSPA

Grafana before 7.0.0

CVE-2020-13430 6.1 - Medium - May 24, 2020

Grafana before 7.0.0 allows tag value XSS via the OpenTSDB datasource.

XSS

In certain Red Hat packages for Grafana 6.x through 6.3.6, the configuration files /etc/grafana/grafana.ini and /etc/grafana/ldap.toml (

CVE-2020-12459 5.5 - Medium - April 29, 2020

In certain Red Hat packages for Grafana 6.x through 6.3.6, the configuration files /etc/grafana/grafana.ini and /etc/grafana/ldap.toml (which contain a secret_key and a bind_password) are world readable.

Information Disclosure

An information-disclosure flaw was found in Grafana through 6.7.3

CVE-2020-12458 5.5 - Medium - April 29, 2020

An information-disclosure flaw was found in Grafana through 6.7.3. The database directory /var/lib/grafana and database file /var/lib/grafana/grafana.db are world readable. This can result in exposure of sensitive information (e.g., cleartext or encrypted datasource passwords).

Cleartext Storage of Sensitive Information

Grafana version < 6.7.3 is vulnerable for annotation popup XSS.

CVE-2020-12052 6.1 - Medium - April 27, 2020

Grafana version < 6.7.3 is vulnerable for annotation popup XSS.

XSS

Grafana before 6.7.3

CVE-2020-12245 6.1 - Medium - April 24, 2020

Grafana before 6.7.3 allows table-panel XSS via column.title or cellLinkTooltip.

XSS

An issue was discovered in Grafana 5.4.0

CVE-2019-15635 4.9 - Medium - September 23, 2019

An issue was discovered in Grafana 5.4.0. Passwords for data sources used by Grafana (e.g., MySQL) are not encrypted. An admin user can reveal passwords for any data source by pressing the "Save and test" button within a data source's settings menu. When watching the transaction with Burp Proxy, the password for the data source is revealed and sent to the server. From a browser, a prompt to save the credentials is generated, and the password can be revealed by simply checking the "Show password" box.

Insufficiently Protected Credentials

In Grafana 2.x through 6.x before 6.3.4, parts of the HTTP API allow unauthenticated use

CVE-2019-15043 7.5 - High - September 03, 2019

In Grafana 2.x through 6.x before 6.3.4, parts of the HTTP API allow unauthenticated use. This makes it possible to run a denial of service attack against the server running Grafana.

Missing Authentication for Critical Function

public/app/features/panel/panel_ctrl.ts in Grafana before 6.2.5

CVE-2019-13068 5.4 - Medium - June 30, 2019

public/app/features/panel/panel_ctrl.ts in Grafana before 6.2.5 allows HTML Injection in panel drilldown links (via the Title or url field).

XSS

Grafana version confirmed for 5.2.4 and 5.3.0 contains a Cross Site Scripting (XSS) vulnerability in Influxdb and Graphite query editor

CVE-2018-1000816 5.4 - Medium - December 20, 2018

Grafana version confirmed for 5.2.4 and 5.3.0 contains a Cross Site Scripting (XSS) vulnerability in Influxdb and Graphite query editor that can result in Running arbitrary js code in victims browser.. This attack appear to be exploitable via Authenticated user must click on the input field where the payload was previously inserted..

XSS

Grafana before 4.6.5 and 5.x before 5.3.3

CVE-2018-19039 6.5 - Medium - December 13, 2018

Grafana before 4.6.5 and 5.x before 5.3.3 allows remote authenticated users to read arbitrary files by leveraging Editor or Admin permissions.

Information Disclosure

Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3

CVE-2018-15727 9.8 - Critical - August 29, 2018

Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember me" cookie knowing only a username of an LDAP or OAuth user.

authentification

Grafana before 5.2.0-beta1 has XSS vulnerabilities in dashboard links.

CVE-2018-12099 6.1 - Medium - June 11, 2018

Grafana before 5.2.0-beta1 has XSS vulnerabilities in dashboard links.

XSS

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for NetApp Storagegrid Webscale Nas Bridge or by Grafana Labs? Click the Watch button to subscribe.

subscribe