blob: 2a210967211be16bfa8f02ef58cbecc706834616 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-1175",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-23536",
"GHSA-cq2g-pw6q-hf7j"
],
"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.",
"affected": [
{
"package": {
"name": "github.com/cortexproject/cortex",
"ecosystem": "Go"
},
"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"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j"
},
{
"type": "FIX",
"url": "https://github.com/cortexproject/cortex/commit/03e023d8b012887b31cc268d0d011b01e1e65506"
},
{
"type": "WEB",
"url": "https://cortexmetrics.io/docs/api/#set-alertmanager-configuration"
}
],
"credits": [
{
"name": "Austin Robertson with Amazon Web Services"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1175",
"review_status": "REVIEWED"
}
}