5.3

CVE-2021-36157: linuxfoundation cortex

Modified
AliasesGHSA-jphm-g89m-v42p
Published 03-08-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-36157 is a medium (CVSS 5.3) vulnerability in linuxfoundation cortex. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 73.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 03-08-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

An issue was discovered in Grafana Cortex through 1.9.0. The header value X-Scope-OrgID is used to construct file paths for rules files, and if crafted to conduct directory traversal such as ae ../../sensitive/path/in/deployment pathname, then Cortex will attempt to parse a rules file at that location and include some of the contents in the error message. (Other Cortex API requests can also be sent a malicious OrgID header, e.g., tricking the ingester into writing metrics to a different location, but the effect is nuisance rather than information disclosure.)

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.39%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.39% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/cortexproject1 product
  • cortex≤ 1.9.0
Linuxfoundation1 product

2 vendors · 2 products

References

6 links