Search for vulnerabilities
Vulnerability details: VCID-eqgm-913k-aaae
Vulnerability ID VCID-eqgm-913k-aaae
Aliases CVE-2021-36157
GHSA-jphm-g89m-v42p
Summary 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.)
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
cvssv3 5.3 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-36157.json
epss 0.00112 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00112 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00112 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00112 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00143 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.00318 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
epss 0.01023 https://api.first.org/data/v1/epss?cve=CVE-2021-36157
cvssv3.1 5.5 https://github.com/cortexproject/cortex
generic_textual MODERATE https://github.com/cortexproject/cortex
generic_textual MODERATE https://github.com/cortexproject/cortex/commit/d9e1f81f40c607b9e97c2fc6db70ae54679917c4
generic_textual MODERATE https://github.com/cortexproject/cortex/pull/4375
generic_textual MODERATE https://grafana.com/docs/grafana/latest/release-notes
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-36157
cvssv3 5.3 https://nvd.nist.gov/vuln/detail/CVE-2021-36157
cvssv3.1 5.3 https://nvd.nist.gov/vuln/detail/CVE-2021-36157
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-36157.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/cortexproject/cortex
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-36157
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-36157
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-36157
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.45185
EPSS Score 0.00112
Published At Dec. 17, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.