ghsa-grj5-8x6q-hc9q
Vulnerability from github
Published
2021-09-02 22:00
Modified
2021-09-08 18:11
Severity ?
VLAI Severity ?
Summary
Path traversal in Grafana Loki
Details
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.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/grafana/loki"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-36156"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2021-08-04T18:52:20Z",
"nvd_published_at": "2021-08-03T15:15:00Z",
"severity": "MODERATE"
},
"details": "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.",
"id": "GHSA-grj5-8x6q-hc9q",
"modified": "2021-09-08T18:11:29Z",
"published": "2021-09-02T22:00:40Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36156"
},
{
"type": "WEB",
"url": "https://github.com/grafana/loki/pull/4020"
},
{
"type": "WEB",
"url": "https://github.com/grafana/loki/pull/4020#issue-694377133"
},
{
"type": "PACKAGE",
"url": "https://github.com/grafana/loki"
},
{
"type": "WEB",
"url": "https://github.com/grafana/loki/releases/tag/v2.3.0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "Path traversal in Grafana Loki"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…