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.
Published: 2024-03-29
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

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
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

Subscriptions

Apple Swift Prometheus
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 : Analyzed

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

Modified: 2026-01-13T20:35:52.697

Link: CVE-2024-28867

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses