Ubuntu Security Notice
USN-6935-1
prometheus-alertmanager vulnerability
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | prometheus-alertmanager | All versions before 0.6.2+ds-3ubuntu0.1+esm1 (fixed in 0.6.2+ds-3ubuntu0.1+esm1) |
| Ubuntu:20.04:LTS | prometheus-alertmanager | All versions before 0.15.3+ds-3ubuntu1.2 (fixed in 0.15.3+ds-3ubuntu1.2) |
| Ubuntu:Pro:22.04:LTS | prometheus-alertmanager | All versions before 0.23.0-4ubuntu0.2+esm1 (fixed in 0.23.0-4ubuntu0.2+esm1) |