CVE-2024-28867 (CNNVD-202403-3159)
中文标题:
Prometheus 安全漏洞
英文标题:
Swift Prometheus un-sanitized metric name or labels can be used to take over exported metrics
漏洞描述
中文描述:
Prometheus是一款使用Go语言编写的、用于记录使用HTTP拉模型构建的时间序列数据库中实时指标的开源软件。 Swift Prometheus 2.0.0-alpha.2之前版本存在安全漏洞,该漏洞源于将未清理的字符串值应用于指标名称或标签的代码中,攻击者利用该漏洞可以发送包含特俗字符的查询参数,导致服务器被接管。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| swift-server | swift-prometheus | = 2.0.0-alpha.1 | - | - |
cpe:2.3:a:swift-server:swift-prometheus:=_2.0.0-alpha.1:*:*:*:*:*:*:*
|
| apple | swift_prometheus | 2.0.0 | - | - |
cpe:2.3:a:apple:swift_prometheus:2.0.0:alpha1:*:*:*:swift:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2024-28867 |
2025-11-11 15:22:30 | 2025-11-11 07:39:15 |
| NVD | nvd_CVE-2024-28867 |
2025-11-11 14:59:49 | 2025-11-11 07:47:15 |
| CNNVD | cnnvd_CNNVD-202403-3159 |
2025-11-11 15:11:32 | 2025-11-11 07:58:37 |
版本与语言
安全公告
变更历史
查看详细变更
- affected_products_count: 1 -> 2
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202403-3159
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']