Medium severity5.9NVD Advisory· Published Mar 29, 2024· Updated Jun 17, 2026
CVE-2024-28867
CVE-2024-28867
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/swift-server/swift-prometheusSwiftURL | >= 2.0.0-alpha.1, < 2.0.0-alpha.2 | 2.0.0-alpha.2 |
Affected products
3- cpe:2.3:a:apple:swift_prometheus:2.0.0:alpha1:*:*:*:swift:*:*
- ghsa-coordsRange: >= 2.0.0-alpha.1, < 2.0.0-alpha.2
- swift-server/swift-prometheusv5Range: = 2.0.0-alpha.1
Patches
Vulnerability mechanics
References
4- github.com/swift-server/swift-prometheus/commit/bfcd4bbfabe11aae4b035424ee9724582e288501nvdPatchWEB
- github.com/swift-server/swift-prometheus/security/advisories/GHSA-x768-cvr2-345rnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-x768-cvr2-345rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-28867ghsaADVISORY
News mentions
0No linked articles in our index yet.