Swift Prometheus un-sanitized metric name or labels can be used to take over exported metrics
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| swift-server | swift-prometheus | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-1036 | 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. |
Github GHSA |
GHSA-x768-cvr2-345r | Un-sanitized metric name or labels can be used to take over exported metrics |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.645% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Apple
Apple swift Prometheus |
|
| CPEs | cpe:2.3:a:apple:swift_prometheus:2.0.0:alpha1:*:*:*:swift:*:* | |
| Vendors & Products |
Apple
Apple swift Prometheus |