USN-6935-1: Prometheus Alertmanager vulnerability

Published Jul 31, 2024
·
Updated

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 Software

12 affected componentsFixes available
All of the following
ubuntu/golang-github-prometheus-alertmanager-dev<0.23.0-4ubuntu0.2+esm1
0.23.0-4ubuntu0.2+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/prometheus-alertmanager<0.23.0-4ubuntu0.2+esm1
0.23.0-4ubuntu0.2+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/golang-github-prometheus-alertmanager-dev<0.15.3+ds-3ubuntu1.2
0.15.3+ds-3ubuntu1.2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/prometheus-alertmanager<0.15.3+ds-3ubuntu1.2
0.15.3+ds-3ubuntu1.2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/golang-github-prometheus-alertmanager-dev<0.6.2+ds-3ubuntu0.1+esm1
0.6.2+ds-3ubuntu0.1+esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/prometheus-alertmanager<0.6.2+ds-3ubuntu0.1+esm1
0.6.2+ds-3ubuntu0.1+esm1
Ubuntu Ubuntu=18.04

Event History

Jul 31, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of USN-6935-1?

The severity of USN-6935-1 is classified as high due to the potential for arbitrary code injection through an API endpoint.

2

How do I fix USN-6935-1?

To fix USN-6935-1, update the prometheus-alertmanager package to version 0.23.0-4ubuntu0.2+esm1 for Ubuntu 22.04 LTS or 0.15.3+ds-3ubuntu1.2 for Ubuntu 20.04 LTS.

3

Which versions of Ubuntu are affected by USN-6935-1?

USN-6935-1 affects Ubuntu 18.04 LTS, 20.04 LTS, and 22.04 LTS using specific versions of the prometheus-alertmanager package.

4

What is the nature of the vulnerability in USN-6935-1?

The vulnerability in USN-6935-1 stems from improper input sanitization in an API endpoint used by prometheus-alertmanager, allowing for potential code injection.

5

Is it necessary to reboot my system after applying the fix for USN-6935-1?

Typically, a reboot is not required after fixing USN-6935-1, but it is recommended to restart the prometheus-alertmanager service to ensure the changes take effect.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203