CVE-2024-28867
Last modified
CVE-2024-28867 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Apple | Swift Prometheus | 2.0.0 | Alpha1 |
References
- https://github.com/swift-server/swift-prometheus/security/advisories/GHSA-x768-cvr2-345rExploit, Mitigation, Vendor Advisory
- https://github.com/swift-server/swift-prometheus/security/advisories/GHSA-x768-cvr2-345rExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-28867?
How severe is CVE-2024-28867?
How do I fix CVE-2024-28867?
Are you affected by CVE-2024-28867?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
