CVE-2024-28867

    Dashboard / Vulnerabilities / CVE-2024-28867

    CVE-2024-28867

    Published: 29 Mar 2024Last Modified: 12 Aug 2026

    Summary: Swift Prometheus un-sanitized metric name or labels can be used to take over exported metrics

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- bc4d19a990c6c2291f1a465b8767b99f1a152855

    Affected versions

    = 2.0.0-alpha.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2024-28867 | CVE-DB