Security readout for executives and security teams
Plain-English summary
CVE-2021-36157 affects Grafana Cortex through 1.9.0. A specially crafted tenant header could make Cortex read rule files from unintended filesystem paths and return some file content in an error message. The source bundle does not provide a CVSS score, confirmed fixed version, or evidence of active exploitation.
Executive priority
Prioritize confirming whether Cortex through 1.9.0 is deployed and exposed to untrusted tenants. The business concern is potential leakage of local file contents, but public severity and exploitation evidence are incomplete in the provided sources.
Technical view
Cortex uses X-Scope-OrgID to build paths for rules files. Directory traversal in that header can cause Cortex to attempt parsing a rules file outside the intended tenant path, leaking some contents through parser errors. Other APIs may misuse the header for nuisance effects, such as writing metrics elsewhere, but the cited description distinguishes that from information disclosure.
Likely exposure
Exposure is most likely in Cortex deployments through 1.9.0 where clients can supply X-Scope-OrgID to Cortex APIs. Risk depends on API reachability, tenant authentication, filesystem contents accessible to the Cortex process, and whether vendor guidance or PR #4375 has been applied.
Exploitation context
The CVE record describes a crafted header and directory traversal effect, but the bundle has no KEV listing and no cited evidence of exploitation in the wild. Treat exploitation status as unconfirmed unless additional current intelligence supports it.
Researcher notes
The core issue is path construction from X-Scope-OrgID without sufficient traversal protection. The public description names information disclosure through rule parsing errors and nuisance effects in other APIs. The bundle lacks CVSS, CWE mapping, exact fixed version, and exploit telemetry.
Mitigation direction
- Identify Cortex deployments and confirm versions are not through 1.9.0.
- Review Cortex project guidance and PR #4375 for the fixed release or patch.
- Restrict Cortex API access to trusted, authenticated clients only.
- Filter or reject suspicious X-Scope-OrgID values at trusted boundaries.
- Reduce sensitive files readable by the Cortex runtime account.
Validation and detection
- Inventory Cortex services and capture their running versions.
- Review API gateway or proxy controls for X-Scope-OrgID handling.
- Check whether fixes associated with Cortex PR #4375 are present.
- Search logs for rejected or unusual X-Scope-OrgID values.
- Confirm Cortex runtime filesystem permissions are least privilege.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
File access behavior lookup
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-36157 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://grafana.com/docs/grafana/latest/release-notes/CVE reference · x_refsource_MISC
- https://github.com/cortexproject/cortex/pull/4375CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
