GHSA-wm7r-3qxj-5xgq: Duplicate Advisory Grafana Improper Access Control Vulnerability Vulnerability

MODERATE
CVSS 4.1
CWE-284 CWE-862
Published
Advisory Summary

GHSA-wm7r-3qxj-5xgq is a MODERATE (CVSS 4.1) grafana improper access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves grafana improper access control vulnerability. Remediation is available by upgrading affected packages to version 9.5.3, 8.5.26, 9.2.19, 9.3.15, 9.4.12.

GHSA-wm7r-3qxj-5xgq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wm7r-3qxj-5xgq
Severity MODERATE
CVSS v3.1 Base Score 4.1
CWE Classification CWE-284: Improper Access Control
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-wm7r-3qxj-5xgq

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/grafana/grafana fixed: 9.5.3
Upgrade github.com/grafana/grafana to 9.5.3
github.com/grafana/grafana fixed: 8.5.26
Upgrade github.com/grafana/grafana to 8.5.26
github.com/grafana/grafana fixed: 9.2.19
Upgrade github.com/grafana/grafana to 9.2.19
github.com/grafana/grafana fixed: 9.3.15
Upgrade github.com/grafana/grafana to 9.3.15
github.com/grafana/grafana fixed: 9.4.12
Upgrade github.com/grafana/grafana to 9.4.12
Verify Direct and Transitive Dependencies

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 GHSA-wm7r-3qxj-5xgq, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for github.com/grafana/grafana

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.5.3), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-cvm3-pp2j-chr3. This link is maintained to preserve external references. ## Original Description Grafana is an open-source platform for monitoring and observability. The option to send a test alert is not available from the user panel UI for users having the Viewer role. It is still possible for a user with the Viewer role to send a test alert using the API as the API does not check access to this function. This might enable malicious users to abuse the functionality by sending multiple alert messages to e-mail and Slack, spamming users, prepare Phishing attack or block SMTP server. Users may upgrade to version 9.5.3, 9.4.12, 9.3.15, 9.2.19 and 8.5.26 to receive a fix.

GHSA-wm7r-3qxj-5xgq Affected Duplicate Advisory Versions

5 component(s)
Fixed Versions:
9.5.38.5.269.2.199.3.159.4.12
Product / Package Ecosystem Affected Versions Fixed Version
github.com/grafana/grafana
Go
≥ 9.5.0
< 9.5.3
9.5.3
github.com/grafana/grafana
Go
< 8.5.26
8.5.26
github.com/grafana/grafana
Go
≥ 9.0.0
< 9.2.19
9.2.19
github.com/grafana/grafana
Go
≥ 9.3.0
< 9.3.15
9.3.15
github.com/grafana/grafana
Go
≥ 9.4.0
< 9.4.12
9.4.12

References

Frequently Asked Questions

What is GHSA-wm7r-3qxj-5xgq?
GHSA-wm7r-3qxj-5xgq is a security vulnerability in Duplicate Advisory involving Grafana Improper Access Control vulnerability under CWE-284: Improper Access Control.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 9.5.3, 8.5.26, 9.2.19, 9.3.15, 9.4.12 across affected packages: github.com/grafana/grafana.
What version fixes GHSA-wm7r-3qxj-5xgq?
Upgrading to 9.5.3, 8.5.26, 9.2.19, 9.3.15, 9.4.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/grafana/grafana affected?
Yes, github.com/grafana/grafana is affected in releases prior to 9.5.3, 8.5.26, 9.2.19, 9.3.15, 9.4.12. Upgrade your dependency to 9.5.3, 8.5.26, 9.2.19, 9.3.15, 9.4.12 or later.
What is the CVSS score of GHSA-wm7r-3qxj-5xgq?
GHSA-wm7r-3qxj-5xgq has a CVSS v3.1 base score of 4.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N.
What CWE is associated with GHSA-wm7r-3qxj-5xgq?
GHSA-wm7r-3qxj-5xgq is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for GHSA-wm7r-3qxj-5xgq?
Run the dependency tree command: 'inspect dependencies for github.com/grafana/grafana'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wm7r-3qxj-5xgq",
  "modified" : "2025-02-13T18:57:03Z",
  "published" : "2023-06-06T21:30:18Z",
  "withdrawn" : "2023-06-09T22:54:42Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Grafana Improper Access Control vulnerability",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-cvm3-pp2j-chr3. This link is maintained to preserve external references.\n\n## Original Description\nGrafana is an open-source platform for monitoring and observability. \n\nThe option to send a test alert is not available from the user panel UI for users having the Viewer role. It is still possible for a user with the Viewer role to send a test alert using the API as the API does not check access to this function.\n\nThis might enable malicious users to abuse the functionality by sending multiple alert messages to e-mail and Slack, spamming users, prepare Phishing attack or block SMTP server.\n\nUsers may upgrade to version 9.5.3, 9.4.12, 9.3.15, 9.2.19 and 8.5.26 to receive a fix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/grafana/grafana"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.5.26"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/grafana/grafana"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.2.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/grafana/grafana"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.3.0"
      }, {
        "fixed" : "9.3.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/grafana/grafana"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.4.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" : "WEB",
    "url" : "https://github.com/grafana/bugbounty/security/advisories/GHSA-cvm3-pp2j-chr3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2183"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/grafana/grafana"
  }, {
    "type" : "WEB",
    "url" : "https://grafana.com/security/security-advisories/cve-2023-2183"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20230706-0002"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-07T15:08:20Z",
    "nvd_published_at" : "2023-06-06T19:15:11Z"
  }
}