SCA: security update for github.com/grafana/loki (GHSA-grj5-8x6q-hc9q)

medium Tenable Cloud Security Plugin ID 415283

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- An issue was discovered in Grafana Loki through 2.2.1. 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 Loki will attempt to parse a rules file at that location
and include some of the contents in the error message. (CVE-2021-36156)

See Also

https://github.com/advisories/GHSA-grj5-8x6q-hc9q

Plugin Details

Severity: Medium

ID: 415283

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2021-36156

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/2/2021

Vulnerability Publication Date: 8/3/2021

Reference Information

CVE: CVE-2021-36156

cwe: CWE-22