USN-6935-1: Prometheus Alertmanager vulnerability
31 July 2024
prometheus-alertmanager could be made to expose sensitive information over the network.
Releases
Packages
- 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
-
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
-
golang-github-prometheus-alertmanager-dev
-
0.15.3+ds-3ubuntu1.2
-
prometheus-alertmanager
-
0.15.3+ds-3ubuntu1.2
Ubuntu 18.04
-
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.