prometheus-alertmanager: CVE-2023-40577

Related Vulnerabilities: CVE-2023-40577  

Debian Bug report logs - #1050558
prometheus-alertmanager: CVE-2023-40577

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sat, 26 Aug 2023 09:51:01 UTC

Severity: important

Tags: security, upstream

Found in version prometheus-alertmanager/0.25.0+ds-1

Fixed in version prometheus-alertmanager/0.26.0+ds-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>:
Bug#1050558; Package src:prometheus-alertmanager. (Sat, 26 Aug 2023 09:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>. (Sat, 26 Aug 2023 09:51:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: prometheus-alertmanager: CVE-2023-40577
Date: Sat, 26 Aug 2023 11:47:11 +0200
Source: prometheus-alertmanager
Version: 0.25.0+ds-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for prometheus-alertmanager.

CVE-2023-40577[0]:
| 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.

Note the above seem to contian a typo in the dscription, should be
0.25.1.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-40577
    https://www.cve.org/CVERecord?id=CVE-2023-40577
[1] https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>:
Bug#1050558; Package src:prometheus-alertmanager. (Sat, 26 Aug 2023 11:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Swarbrick <dswarbrick@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Go Packaging Team <team+pkg-go@tracker.debian.org>. (Sat, 26 Aug 2023 11:36:03 GMT) (full text, mbox, link).


Message #10 received at 1050558@bugs.debian.org (full text, mbox, reply):

From: Daniel Swarbrick <dswarbrick@debian.org>
To: 1050558@bugs.debian.org, Salvatore Bonaccorso <carnil@debian.org>
Subject: prometheus-alertmanager: CVE-2023-40577
Date: Sat, 26 Aug 2023 13:34:03 +0200
[Message part 1 (text/plain, inline)]
Note that the Debian prometheus-alertmanager package strips out the web 
UI, so the fix in 0.25.1 would actually result in no changes to this 
package.

[OpenPGP_signature (application/pgp-signature, attachment)]

Marked as fixed in versions prometheus-alertmanager/0.26.0+ds-1. Request was from Daniel Swarbrick <dswarbrick@debian.org> to control@bugs.debian.org. (Sat, 26 Aug 2023 15:57:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>:
Bug#1050558; Package src:prometheus-alertmanager. (Sat, 26 Aug 2023 16:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Swarbrick <dswarbrick@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Go Packaging Team <team+pkg-go@tracker.debian.org>. (Sat, 26 Aug 2023 16:03:02 GMT) (full text, mbox, link).


Message #17 received at 1050558@bugs.debian.org (full text, mbox, reply):

From: Daniel Swarbrick <dswarbrick@debian.org>
To: 1050558@bugs.debian.org, Salvatore Bonaccorso <carnil@debian.org>
Subject: prometheus-alertmanager: CVE-2023-40577
Date: Sat, 26 Aug 2023 17:58:51 +0200
[Message part 1 (text/plain, inline)]
Disregard my previous comment - I was mistaken.

prometheus-alertmanager ships with a generate-ui.sh script which in the 
past fetched the Elm compiler from upstream (since it was not available 
in Debian), but the script has always used the Alertmanager web UI 
sources as shipped in the package.
[OpenPGP_signature (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Aug 26 17:51:02 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.