Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/cortexproject/cortex: CVE-2022-23536 #1175

Closed
GoVulnBot opened this issue Dec 19, 2022 · 1 comment
Assignees

Comments

@GoVulnBot
Copy link

CVE-2022-23536 references github.com/cortexproject/cortex, which may be a Go module.

Description:
Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where -experimental.alertmanager.enable-api or enable_api: true is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the api_key_file setting in the opsgenie_configs section before sending to the Set Alertmanager Configuration API.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: github.com/cortexproject/cortex
    packages:
      - package: cortex
description: |
    Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where `-experimental.alertmanager.enable-api` or `enable_api: true` is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the `api_key_file` setting in the `opsgenie_configs` section before sending to the Set Alertmanager Configuration API.
cves:
  - CVE-2022-23536
references:
  - fix: https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j
  - web: https://cortexmetrics.io/docs/api/#set-alertmanager-configuration
  - fix: https://github.com/cortexproject/cortex/releases/tag/v1.13.2
  - fix: https://github.com/cortexproject/cortex/releases/tag/v1.14.1

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/459115 mentions this issue: data/reports: add GO-2022-1175.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants