Bug 1218838 (CVE-2023-40577) - VUL-0: CVE-2023-40577: golang-github-prometheus-alertmanager: prometheus-alertmanager: UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
Summary: VUL-0: CVE-2023-40577: golang-github-prometheus-alertmanager: prometheus-aler...
Status: RESOLVED FIXED
Alias: CVE-2023-40577
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/376329/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-16 11:11 UTC by SMASH SMASH
Modified: 2024-06-10 14:31 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-01-16 11:11:03 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-40577
https://www.cve.org/CVERecord?id=CVE-2023-40577
https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j
https://bugzilla.redhat.com/show_bug.cgi?id=2235479
https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html
Comment 1 Marina Latini 2024-01-16 11:20:21 UTC
note: 

the CVE is already mentioned in the .changes file of version 0.26.0 but the bsc is missing because it has been created just now
Comment 2 Witek Bedyk 2024-01-16 13:51:40 UTC
Submissions updating changelogs requested to development projects:

https://build.opensuse.org/request/show/1139171
https://build.opensuse.org/request/show/1139173
Comment 6 Maintenance Automation 2024-02-15 16:30:56 UTC
SUSE-SU-2024:0512-1: An update that solves one vulnerability and contains two features can now be installed.

Category: security (important)
Bug References: 1218838
CVE References: CVE-2023-40577
Jira References: MSQA-719, PED-7353
Sources used:
SUSE Manager Proxy 4.3 Module 4.3 (src): golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1
openSUSE Leap 15.5 (src): golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1
SUSE Manager Client Tools for SLE 15 (src): golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1
SUSE Package Hub 15 15-SP5 (src): golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2024-02-15 16:32:07 UTC
SUSE-SU-2024:0486-1: An update that solves nine vulnerabilities and contains two features can now be installed.

Category: security (moderate)
Bug References: 1192154, 1192696, 1193492, 1193686, 1200480, 1204023, 1218838, 1218843, 1218844
CVE References: CVE-2020-7753, CVE-2021-3807, CVE-2021-3918, CVE-2021-43138, CVE-2021-43798, CVE-2021-43815, CVE-2022-0155, CVE-2022-41715, CVE-2023-40577
Jira References: MSQA-719, PED-7353
Sources used:
SUSE Manager Client Tools for SLE 12 (src): spacewalk-client-tools-4.3.18-52.95.2, mgr-daemon-4.3.8-1.44.2, golang-github-prometheus-alertmanager-0.26.0-1.24.2, golang-github-lusitaniae-apache_exporter-1.0.0-1.21.2, grafana-9.5.8-1.60.1, spacecmd-4.3.26-38.136.2, golang-github-prometheus-prometheus-2.45.0-1.50.2, prometheus-postgres_exporter-0.10.1-1.17.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2024-03-04 12:30:09 UTC
SUSE-RU-2024:0746-1: An update that contains two features and has nine fixes can now be installed.

Category: recommended (moderate)
Bug References: 1192154, 1192696, 1193492, 1193686, 1200480, 1204023, 1218838, 1218843, 1218844
Jira References: MSQA-720, PED-7843
Sources used:
SUSE Manager Client Tools Beta for SLE 12 (src): golang-github-prometheus-prometheus-2.45.0-4.36.1, spacewalk-client-tools-5.0.3-55.48.1, supportutils-plugin-susemanager-client-5.0.2-9.18.1, rhnlib-5.0.2-24.33.1, uyuni-tools-0.1.4-3.3.1, golang-github-prometheus-alertmanager-0.26.0-4.15.1, uyuni-common-libs-5.0.2-3.36.1, grafana-9.5.8-4.24.1, spacecmd-5.0.4-41.45.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Robert Frohl 2024-06-10 14:31:55 UTC
done