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. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 IDSNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGSERVICESNGALERTAPI-8132062
  • published29 Sept 2024
  • disclosed26 Sept 2024
  • creditUnknown

Introduced: 26 Sep 2024

CVE-2024-8118  (opens in a new tab)
CWE-653  (opens in a new tab)

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