CVE-2021-37698Missing TLS service certificate validation in GelfWriter, ElasticsearchWriter,…
Icinga is a monitoring system which checks the availability of network resources, notifies users of outages, and generates performance data for reporting. In versions 2.5.0 through 2.13.0, ElasticsearchWriter, GelfWriter, InfluxdbWriter and Influxdb2Writer do not verify the server's certificate despite a certificate authority being specified. Icinga 2 instances which connect to any of the mentioned time series databases (TSDBs) using TLS over a spoofable infrastructure should immediately upgrade to version 2.13.1, 2.12.6, or 2.11.11 to patch the issue. Such instances should also change the credentials (if any) used by the TSDB writer feature to authenticate against the TSDB. There are no workarounds aside from upgrading.
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.04 | icinga2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | icinga2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | icinga2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | icinga2 | Under investigation | UBUNTU-CVE-2021-37698 | |
| Ubuntu 20.04 | icinga2 | Fix pending | UBUNTU-CVE-2021-37698 | |
| Ubuntu 18.04 | icinga2 | Fix pending | UBUNTU-CVE-2021-37698 | |
| Ubuntu 16.04 | icinga2 | Fix pending | UBUNTU-CVE-2021-37698 | |
| Debian 14 | icinga2 | Fixed | 2.13.1-1 | DEBIAN-CVE-2021-37698 |
| Debian 13 | icinga2 | Fixed | 2.13.1-1 | DEBIAN-CVE-2021-37698 |
| Debian 12 | icinga2 | Fixed | 2.13.1-1 | DEBIAN-CVE-2021-37698 |
| Alpine Linux 3.24 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.23 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.22 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.21 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.20 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.19 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.18 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.17 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.16 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.15 | icinga2 | Fixed | 2.13.1-r0 | ALPINE-CVE-2021-37698 |
| Alpine Linux 3.14 | icinga2 | Fixed | 2.12.6-r0 | ALPINE-CVE-2021-37698 |
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.
- icinga2: affected: >= 2.5.0, <= 2.13.0
References
- https://github.com/Icinga/icinga2/security/advisories/GHSA-cxfm-8j5v-5qr2
- https://github.com/Icinga/icinga2/releases/tag/v2.11.11
- https://github.com/Icinga/icinga2/releases/tag/v2.12.6
- https://github.com/Icinga/icinga2/releases/tag/v2.13.1
- https://lists.debian.org/debian-lts-announce/2021/11/msg00010.html
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.