Improper Isolation or Compartmentalization Affecting github.com/grafana/grafana/pkg/services/ngalert/api package, versions <10.3.10 >=10.4.0 <10.4.9 >=11.0.0 <11.0.5 >=11.1.0 <11.1.6 >=11.2.0 <11.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGSERVICESNGALERTAPI-8132062
  • published 29 Sep 2024
  • disclosed 26 Sep 2024
  • credit Unknown

How to fix?

Upgrade github.com/grafana/grafana/pkg/services/ngalert/api to version 10.3.10, 10.4.9, 11.0.5, 11.1.6, 11.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Isolation or Compartmentalization due to incorrect permissions settings on the alert rule write API endpoint, allowing malicious users with permission to write external alert instances to also write alert rules.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
5.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None