File disclosure via bearer token in Grafana Alloy
Grafana Alloy
At a glance
Grafana Alloy’s prometheus.operator.servicemonitors component allows a user who can create or modify ServiceMonitor resources in a watched namespace to specify an arbitrary local file through bearerTokenFile. Alloy reads the file and sends its contents as a bearer token to an attacker-controlled scrape endpoint. This may disclose files accessible to the Alloy process, including its projected Kubernetes service account token, potentially granting the attacker Alloy’s Kubernetes permissions. Exploitation requires ServiceMonitor write access and lower privileges than Alloy’s service account.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.371%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Grafana | Alloy | Affected versions: ≥ 1.0.0, ≤ 1.18.1 |
| Vendor:SUSE | SUSE Linux Enterprise Desktop 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server 16.0 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server 16.1 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server for SAP applications 16.0 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server for SAP applications 16.1 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | openSUSE Leap 16.0 | Affected versions:Source does not specify a version range |
1–10 of 12 · Page 1 of 2
CVSS scores and metrics3
GRAFANA · CVE List / CNA (cna)Primary7.7 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Changed
Source vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N[email protected] · NVD (Secondary)7.7 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Changed
Source vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NSUSE · SUSE VEX (adp)7.7 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Changed
Source vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories5
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences