Description
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
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 |
GHSA-x768-cvr2-345r | Un-sanitized metric name or labels can be used to take over exported metrics |
References
History
Tue, 13 Jan 2026 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Apple
Apple swift Prometheus |
|
| CPEs | cpe:2.3:a:apple:swift_prometheus:2.0.0:alpha1:*:*:*:swift:*:* | |
| Vendors & Products |
Apple
Apple swift Prometheus |
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-03-25T14:39:04.232Z
Reserved: 2024-03-11T22:45:07.687Z
Link: CVE-2024-28867
Updated: 2024-08-02T00:56:58.407Z
Status : Analyzed
Published: 2024-03-29T15:15:11.180
Modified: 2026-01-13T20:35:52.697
Link: CVE-2024-28867
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA