Advisory

USN-6935-1

Also known as: CVE-2023-40577

Summary

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.

Severity

Not rated by the source.

Dates

Published
2024-07-31 15:07 UTC
Modified
2026-04-27 17:22 UTC

Affected packages and fixes

prometheus-alertmanager

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.15.3+ds-3ubuntu1.2 (ecosystem)

Fixed versions

0.15.3+ds-3ubuntu1.2

Fix

  • Fixed version 0.15.3+ds-3ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences