CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Apple

CVE-2024-28867
Apple Swift Prometheus vulnerability

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 products

Swift Prometheus. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Apple Swift Prometheus runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Apple products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.