Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-36157

5.3 · MEDIUM
Published Aug 3, 2021 linuxfoundation CWE-22 EPSS 1.39% (70th pctl)

Overview

CVE-2021-36157 is a medium-severity vulnerability affecting linuxfoundation cortex. It was published on August 3, 2021 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.)

Remediation

Check the references section for vendor advisories and patches from linuxfoundation. Update cortex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linuxfoundation cortex 0 Affected

Frequently Asked Questions

What is CVE-2021-36157?

CVE-2021-36157 is a medium-severity vulnerability affecting linuxfoundation cortex. It was published on August 3, 2021 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2021-36157?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-36157?

Check the references section for vendor advisories and patches from linuxfoundation. Update cortex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-36157?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-36157 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.