CVE-2021-32747Custom variable protection and blacklists can be circumvented
Icinga Web 2 is an open source monitoring web interface, framework, and command-line interface. A vulnerability in which custom variables are exposed to unauthorized users exists between versions 2.0.0 and 2.8.2. Custom variables are user-defined keys and values on configuration objects in Icinga 2. These are commonly used to reference secrets in other configurations such as check commands to be able to authenticate with a service being checked. Icinga Web 2 displays these custom variables to logged in users with access to said hosts or services. In order to protect the secrets from being visible to anyone, it's possible to setup protection rules and blacklists in a user's role. Protection rules result in `***` being shown instead of the original value, the key will remain. Backlists will hide a custom variable entirely from the user. Besides using the UI, custom variables can also be accessed differently by using an undocumented URL parameter. By adding a parameter to the affected routes, Icinga Web 2 will show these columns additionally in the respective list. This parameter is also respected when exporting to JSON or CSV. Protection rules and blacklists however have no effect in this case. Custom variables are shown as-is in the result. The issue has been fixed in the 2.9.0, 2.8.3, and 2.7.5 releases. As a workaround, one may set up a restriction to hide hosts and services with the custom variable in question.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | icingaweb2 | Fix pending | UBUNTU-CVE-2021-32747 | |
| Ubuntu 26.04 | icingaweb2 | Under investigation | UBUNTU-CVE-2021-32747 | |
| Ubuntu 25.10 | icingaweb2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-32747 | |
| Ubuntu 24.04 | icingaweb2 | Under investigation | UBUNTU-CVE-2021-32747 | |
| Ubuntu 22.04 | icingaweb2 | Under investigation | UBUNTU-CVE-2021-32747 | |
| Ubuntu 20.04 | icingaweb2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-32747 | |
| Ubuntu 18.04 | icingaweb2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-32747 | |
| Ubuntu 16.04 | icingaweb2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-32747 | |
| Debian 14 | icingaweb2 | Fixed | 2.8.4-1 | DEBIAN-CVE-2021-32747 |
| Debian 13 | icingaweb2 | Fixed | 2.8.4-1 | DEBIAN-CVE-2021-32747 |
| Debian 12 | icingaweb2 | Fixed | 2.8.4-1 | DEBIAN-CVE-2021-32747 |
| Alpine Linux 3.24 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.23 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.22 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.21 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.20 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.19 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.18 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.17 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.16 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
| Alpine Linux 3.15 | icingaweb2 | Fixed | 2.9.0-r0 | ALPINE-CVE-2021-32747 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- icingaweb2: affected: >= 2.0.0, <= 2.8.2
References
- https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5
- https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3
- https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0
- https://github.com/Icinga/icingaweb2/security/advisories/GHSA-2xv9-886q-p7xx
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.