GO-2022-1175

Source
https://pkg.go.dev/vuln/GO-2022-1175
Import Source
https://vuln.go.dev/ID/GO-2022-1175.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-1175
Aliases
Published
2022-12-22T17:41:59Z
Modified
2024-05-20T16:03:47Z
Summary
Exposure of local files in github.com/cortexproject/cortex
Details

A malicious actor could remotely read local files by submitting to the Alertmanager Set Configuration API maliciously crafted inputs. Only users of the Alertmanager service where "-experimental.alertmanager.enable-api" or "enable_api: true" is configured are affected.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-1175"
}
References
Credits
    • Austin Robertson with Amazon Web Services

Affected packages

Go / github.com/cortexproject/cortex

Package

Name
github.com/cortexproject/cortex
View open source insights on deps.dev
Purl
pkg:golang/github.com/cortexproject/cortex

Affected ranges

Type
SEMVER
Events
Introduced
1.13.0
Fixed
1.13.2
Introduced
1.14.0
Fixed
1.14.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/cortexproject/cortex/pkg/alertmanager",
            "symbols": [
                "validateAlertmanagerConfig",
                "validateGlobalConfig"
            ]
        }
    ]
}