Vulnerability in Prometheus Alertmanager: Security Advisory USN-6935-1 for Ubuntu
Summary
A security issue affects these releases of Ubuntu and its derivatives: - Ubuntu 22.04 LTS - Ubuntu 20.04 LTS - Ubuntu 18.04 LTS Summary: prometheus-alertmanager could be made to expose sensitive information over the network. Software Description: - prometheus-alertmanager: handle and deliver alerts created by Prometheus Details: It was discovered that prometheus-alertmanager didn't properly sanitize input it received through an API endpoint. An attacker with permission to send requests to this endpoint could potentially inject arbitrary code. On Ubuntu 20.04 LTS and Ubuntu 22.04 LTS, this vulnerability is only present if the UI has been explicitly activated.
Update Instructions
The problem can be corrected by updating your system to the following package versions: Ubuntu 22.04 LTS golang-github-prometheus-alertmanager-dev 0.23.0-4ubuntu0.2+esm1 Available with Ubuntu Pro prometheus-alertmanager 0.23.0-4ubuntu0.2+esm1 Available with Ubuntu Pro Ubuntu 20.04 LTS golang-github-prometheus-alertmanager-dev 0.15.3+ds-3ubuntu1.2 prometheus-alertmanager 0.15.3+ds-3ubuntu1.2 Ubuntu 18.04 LTS golang-github-prometheus-alertmanager-dev 0.6.2+ds-3ubuntu0.1+esm1 Available with Ubuntu Pro prometheus-alertmanager 0.6.2+ds-3ubuntu0.1+esm1 Available with Ubuntu Pro On Ubuntu 20.04 LTS and Ubuntu 22.04 LTS, once the updates have been installed, you need to recompile and reinstall the UI components and restart the prometheus-alertmanager service afterwards. On Ubuntu 18.04 LTS, a standard system update will make all the necessary changes.
References
https://ubuntu.com/security/notices/USN-6935-1
CVE-2023-40577
Package Information
https://launchpad.net/ubuntu/+source/prometheus-alertmanager/0.15.3+ds-3ubuntu1.2