Swift Prometheus is a Swift client for the Prometheus monitoring system, supporting counters, gauges and histograms. In code which applies _un-sanitized string values into metric names or labels_, an attacker could make use of this and send a `?lang` query parameter containing newlines, `}` or similar characters which can lead to the attacker taking over the exported format -- including creating unbounded numbers of stored metrics, inflating server memory usage, or causing "bogus" metrics. This vulnerability is fixed in2.0.0-alpha.2.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-1036 Swift Prometheus is a Swift client for the Prometheus monitoring system, supporting counters, gauges and histograms. In code which applies _un-sanitized string values into metric names or labels_, an attacker could make use of this and send a `?lang` query parameter containing newlines, `}` or similar characters which can lead to the attacker taking over the exported format -- including creating unbounded numbers of stored metrics, inflating server memory usage, or causing "bogus" metrics. This vulnerability is fixed in2.0.0-alpha.2.
Github GHSA Github GHSA GHSA-x768-cvr2-345r Un-sanitized metric name or labels can be used to take over exported metrics
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-03-25T14:39:04.232Z

Reserved: 2024-03-11T22:45:07.687Z

Link: CVE-2024-28867

cve-icon Vulnrichment

Updated: 2024-08-02T00:56:58.407Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-29T15:15:11.180

Modified: 2024-11-21T09:07:04.590

Link: CVE-2024-28867

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.