製品・ソフトウェアに関する情報
アップルのSwift Prometheusにおけるインジェクションに関する脆弱性
Title アップルのSwift Prometheusにおけるインジェクションに関する脆弱性
Summary

Swift PrometheusはPrometheus監視システムのためのSwiftクライアントであり、カウンター、ゲージおよびヒストグラムをサポートしています。メトリック名やラベルにサニタイズされていない文字列値を適用するコードにおいて、攻撃者がこれを悪用し、改行や閉じ波かっこなどの文字を含む?langクエリパラメータを送信することが可能です。これにより攻撃者はエクスポートされる形式を乗っ取り、無制限の数のメトリックを作成したり、サーバのメモリ使用量を膨張させたり、不正なメトリックを作成したりする恐れがあります。この脆弱性はバージョン2.0.0-alpha.2で修正されています。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 29, 2024, midnight
Registration Date Jan. 15, 2026, 4:18 p.m.
Last Update Jan. 15, 2026, 4:18 p.m.
CVSS3.0 : 重要
Score 7.4
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected System
アップル
Swift Prometheus 2.0.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年01月15日]
  掲載
Jan. 15, 2026, 4:18 p.m.

NVD Vulnerability Information
CVE-2024-28867
Summary

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.

Publication Date March 30, 2024, 12:15 a.m.
Registration Date March 30, 2024, 10 a.m.
Last Update Nov. 21, 2024, 6:07 p.m.
Related information, measures and tools
Common Vulnerabilities List