Path traversal in Loki - CVE-2021-36156
Published: June 15, 2022
Vulnerability identifier: #VU64412
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-36156
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when header value X-Scope-OrgID is used to construct file paths for rules files. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Loki
Arch Linux
loki
Arch Linux
loki
How to mitigate CVE-2021-36156
Install update from vendor's website.
Loki - update to 2.3.0
loki - update to 2.3.0-1
loki - update to 2.3.0-1