gsd-2021-31232
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-31232", "description": "The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.", "id": "GSD-2021-31232" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-31232" ], "details": "The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.", "id": "GSD-2021-31232", "modified": "2023-12-13T01:23:13.234631Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2021-31232", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://community.grafana.com/c/security-announcements", "refsource": "MISC", "url": "https://community.grafana.com/c/security-announcements" }, { "name": "https://github.com/cortexproject/cortex", "refsource": "MISC", "url": "https://github.com/cortexproject/cortex" }, { "name": "https://github.com/cortexproject/cortex/pull/4129/files", "refsource": "MISC", "url": "https://github.com/cortexproject/cortex/pull/4129/files" }, { "name": "https://lists.cncf.io/g/cortex-users/message/50", "refsource": "MISC", "url": "https://lists.cncf.io/g/cortex-users/message/50" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv1.8.1", "affected_versions": "All versions before 1.8.1", "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:N/A:N", "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2023-08-08", "description": "The Alertmanager in CNCF Cortex has a local file disclosure vulnerability when `-experimental.alertmanager.enable-api` is used. The HTTP basic auth `password_file` can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.", "fixed_versions": [ "v1.8.1" ], "identifier": "CVE-2021-31232", "identifiers": [ "CVE-2021-31232" ], "not_impacted": "", "package_slug": "go/github.com/cortexproject/cortex", "pubdate": "2021-04-30", "solution": "Upgrade to version 1.8.1 or above.", "title": "Improper Input Validation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-31232", "https://lists.cncf.io/g/cortex-users/message/50" ], "uuid": "72c0b3c7-5d52-48b5-a3aa-d44e01178062", "versions": [ { "commit": { "sha": "3b56d5029247ee40e23a1d4e0424b71a129b8057", "tags": [ "v1.8.1" ], "timestamp": "20210419152800" }, "number": "v1.8.1" } ] } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:linuxfoundation:cortex:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.8.1", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2021-31232" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-20" } ] } ] }, "references": { "reference_data": [ { "name": "https://community.grafana.com/c/security-announcements", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://community.grafana.com/c/security-announcements" }, { "name": "https://github.com/cortexproject/cortex", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/cortexproject/cortex" }, { "name": "https://github.com/cortexproject/cortex/pull/4129/files", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/cortexproject/cortex/pull/4129/files" }, { "name": "https://lists.cncf.io/g/cortex-users/message/50", "refsource": "MISC", "tags": [ "Release Notes", "Vendor Advisory" ], "url": "https://lists.cncf.io/g/cortex-users/message/50" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "LOCAL", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 2.1, "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "vectorString": "AV:L/AC:L/Au:N/C:P/I:N/A:N", "version": "2.0" }, "exploitabilityScore": 3.9, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "LOW", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "NONE", "baseScore": 5.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" }, "exploitabilityScore": 1.8, "impactScore": 3.6 } }, "lastModifiedDate": "2021-05-11T17:16Z", "publishedDate": "2021-04-30T13:15Z" } } }
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.
- 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…