grafana agent 信息暴露

admin 2023-11-30 15:48:06 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 grafana agent 信息暴露

CVE编号

CVE-2021-41090

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-12-09
漏洞描述
Grafana Agent is a telemetry collector for sending metrics, logs, and trace data to the opinionated Grafana observability stack. Prior to versions 0.20.1 and 0.21.2, inline secrets defined within a metrics instance config are exposed in plaintext over two endpoints: metrics instance configs defined in the base YAML file are exposed at `/-/config` and metrics instance configs defined for the scraping service are exposed at `/agent/api/v1/configs/:key`. Inline secrets will be exposed to anyone being able to reach these endpoints. If HTTPS with client authentication is not configured, these endpoints are accessible to unauthenticated users. Secrets found in these sections are used for delivering metrics to a Prometheus Remote Write system, authenticating against a system for discovering Prometheus targets, and authenticating against a system for collecting metrics. This does not apply for non-inlined secrets, such as `*_file` based secrets. This issue is patched in Grafana Agent versions 0.20.1 and 0.21.2. A few workarounds are available. Users who cannot upgrade should use non-inline secrets where possible. Users may also desire to restrict API access to Grafana Agent with some combination of restricting the network interfaces Grafana Agent listens on through `http_listen_address` in the `server` block, configuring Grafana Agent to use HTTPS with client authentication, and/or using firewall rules to restrict external access to Grafana Agent's API.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/grafana/agent/commit/af7fb01e31fe2d389e5f1c36b399ddc46b412b21
https://github.com/grafana/agent/pull/1152
https://github.com/grafana/agent/releases/tag/v0.20.1
https://github.com/grafana/agent/releases/tag/v0.21.2
https://github.com/grafana/agent/security/advisories/GHSA-9c4x-5hgq-q3wh
https://security.netapp.com/advisory/ntap-20211229-0004/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 grafana agent * From (including) 0.14.0 Up to (excluding) 0.20.1
运行在以下环境
应用 grafana agent * From (including) 0.21.0 Up to (excluding) 0.21.2
阿里云评分 6.2
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-200 信息暴露
CWE-312 敏感数据的明文存储
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0