Cross-site Scripting (XSS) Affecting prometheus-alertmanager package, versions <0.26.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (51st 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-PROMETHEUSALERTMANAGER-5862037
  • published26 Aug 2023
  • disclosed25 Aug 2023

Introduced: 25 Aug 2023

CVE-2023-40577  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Chainguard prometheus-alertmanager to version 0.26.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream prometheus-alertmanager package and not the prometheus-alertmanager package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Alertmanager handles alerts sent by client applications such as the Prometheus server. An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. This issue has been fixed in Alertmanager version 0.2.51.

CVSS Scores

version 3.1