CVE-2021-31232

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxfoundation:cortex:*:*:*:*:*:*:*:*

History

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE CWE-20 NVD-CWE-noinfo

11 May 2021, 17:16

Type Values Removed Values Added
References (MISC) https://github.com/cortexproject/cortex/pull/4129/files - (MISC) https://github.com/cortexproject/cortex/pull/4129/files - Patch, Third Party Advisory
References (MISC) https://community.grafana.com/c/security-announcements - (MISC) https://community.grafana.com/c/security-announcements - Third Party Advisory
References (MISC) https://lists.cncf.io/g/cortex-users/message/50 - (MISC) https://lists.cncf.io/g/cortex-users/message/50 - Release Notes, Vendor Advisory
References (MISC) https://github.com/cortexproject/cortex - (MISC) https://github.com/cortexproject/cortex - Third Party Advisory
CWE CWE-20
CPE cpe:2.3:a:linuxfoundation:cortex:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 2.1
v3 : 5.5

30 Apr 2021, 14:15

Type Values Removed Values Added
References
  • (MISC) https://lists.cncf.io/g/cortex-users/message/50 -

30 Apr 2021, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-30 13:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-31232

Mitre link : CVE-2021-31232

CVE.ORG link : CVE-2021-31232


JSON object : View

Products Affected

linuxfoundation

  • cortex