CVE-2024-28867
CVE-2024-28867 is a medium-severity vulnerability in Apple Swift Prometheus with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-74.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1036
- Weakness: CWE-74
- Affected product: Apple Swift Prometheus
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-28867?
- 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.
- How severe is CVE-2024-28867?
- CVE-2024-28867 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2024-28867 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-28867?
- CVE-2024-28867 affects Apple Swift Prometheus. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-28867?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-28867 have an EU (EUVD) identifier?
- Yes. CVE-2024-28867 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1036.
- When was CVE-2024-28867 published?
- CVE-2024-28867 was published on 2024-03-29 and last updated on 2026-06-17.
References
- https://github.com/swift-server/swift-prometheus/commit/bfcd4bbfabe11aae4b035424ee9724582e288501
- https://github.com/swift-server/swift-prometheus/security/advisories/GHSA-x768-cvr2-345r
Affected products (1)
- cpe:2.3:a:apple:swift_prometheus:2.0.0:alpha1:*:*:*:swift:*:*
Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities
- CVE-2026-122051 — Critical (CVSS 10.0): A flaw has been found in Edimax BR-6208AC 1.32. Affected by this vulnerability is an unknown functionality of the file…
- CVE-2026-120198 — Critical (CVSS 10.0): A vulnerability has been found in WAVLINK WL-WN530BE1-A V251117. Affected is the function con_check_read_finish of the…
- CVE-2026-114575 — Critical (CVSS 10.0): A flaw has been found in TOTOLINK A950RG 4.1.2cu.5268_B20221104. Affected by this issue is the function…
- CVE-2026-108918 — Critical (CVSS 10.0): A vulnerability was identified in Edimax BR-6208AC 1.32. Impacted is an unknown function of the file…
- CVE-2026-108917 — Critical (CVSS 10.0): A vulnerability was determined in Edimax BR-6208AC 1.32. This issue affects some unknown processing of the file…
- CVE-2026-105135 — Critical (CVSS 10.0): A vulnerability has been found in InternLM MindSearch 0.1.0. This issue affects the function ExecutionAction.run of the…
Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →