mittel5.5
CVE-2021-31232
Improper input validation in CNCF Cortex
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/cortexproject/cortex | < 1.8.1 | 1.8.1 |
Betroffene Produkte · Linuxfoundation
| Produkt | Betroffene Versionen |
|---|---|
| Cortex | vor 1.8.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://community.grafana.com/c/security-announcements
- https://github.com/cortexproject/cortex
- https://github.com/cortexproject/cortex/pull/4129/files
- https://lists.cncf.io/g/cortex-users/message/50
- https://github.com/advisories/GHSA-m45g-f45x-vv22
- https://nvd.nist.gov/vuln/detail/CVE-2021-31232