CVE-2023-2801: Github.com/grafana/grafana Grafana Missing Synchronization Vulnerability Vulnerability
HIGHCVE-2023-2801 is a HIGH (CVSS 7.5) grafana missing synchronization vulnerability vulnerability (CWE-662: Improper Synchronization) affecting Github.com/grafana/grafana libraries in the Go ecosystem. The issue involves grafana missing synchronization vulnerability. Remediation is available by upgrading affected packages to version 9.4.12, 9.5.3.
CVE-2023-2801 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-2801
To remediate this vulnerability, upgrade all affected Github.com/grafana/grafana dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/grafana/grafana to 9.4.12
Upgrade github.com/grafana/grafana to 9.5.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/grafana/grafana
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-2801, inspect your project dependencies for Github.com/grafana/grafana:
inspect dependencies for github.com/grafana/grafana
Analyze the terminal output to locate any version of Github.com/grafana/grafana in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.4.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-662: Improper Synchronization, where the product utilizes multiple threads, processes, components, or systems to allow temporary access to a shared resource that can only be exclusive to one process at a time, but it does not properly synchronize these actions, which might cause simultaneous accesses of this resource by multiple threads or processes. In Github.com/grafana/grafana, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-2801 Affected Github.com/grafana/grafana Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/grafana/grafana
|
Go |
< 9.4.12
|
9.4.12
|
|
github.com/grafana/grafana
|
Go |
≥ 9.5.0
< 9.5.3
|
9.5.3
|
References
Frequently Asked Questions
What is CVE-2023-2801?
Which Github.com/grafana/grafana versions are affected?
What version fixes CVE-2023-2801?
Is github.com/grafana/grafana affected?
What is the CVSS score of CVE-2023-2801?
What CWE is associated with CVE-2023-2801?
How can I check Go dependencies for CVE-2023-2801?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x2w4-c67p-g44j",
"modified" : "2025-02-13T18:56:29Z",
"published" : "2023-06-06T21:30:18Z",
"aliases" : [ "CVE-2023-2801" ],
"summary" : "Grafana Missing Synchronization vulnerability",
"details" : "Grafana is an open-source platform for monitoring and observability. \n\nUsing public dashboards users can query multiple distinct data sources using mixed queries. However such query has a possibility of crashing a Grafana instance.\n\nThe only feature that uses mixed queries at the moment is public dashboards, but it's also possible to cause this by calling the query API directly.\n\nThis might enable malicious users to crash Grafana instances through that endpoint.\n\nUsers may upgrade to version 9.4.12 and 9.5.3 to receive a fix.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/grafana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.4.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/grafana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.5.0"
}, {
"fixed" : "9.5.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2801"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grafana/grafana"
}, {
"type" : "WEB",
"url" : "https://grafana.com/security/security-advisories/cve-2023-2801"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20230706-0002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-662", "CWE-820" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-07T15:08:08Z",
"nvd_published_at" : "2023-06-06T19:15:11Z"
}
}