CVE-2021-32743

NameCVE-2021-32743
DescriptionIcinga is a monitoring system which checks the availability of network resources, notifies users of outages, and generates performance data for reporting. In versions prior to 2.11.10 and from version 2.12.0 through version 2.12.4, some of the Icinga 2 features that require credentials for external services expose those credentials through the API to authenticated API users with read permissions for the corresponding object types. IdoMysqlConnection and IdoPgsqlConnection (every released version) exposes the password of the user used to connect to the database. IcingaDB (added in 2.12.0) exposes the password used to connect to the Redis server. ElasticsearchWriter (added in 2.8.0)exposes the password used to connect to the Elasticsearch server. An attacker who obtains these credentials can impersonate Icinga to these services and add, modify and delete information there. If credentials with more permissions are in use, this increases the impact accordingly. Starting with the 2.11.10 and 2.12.5 releases, these passwords are no longer exposed via the API. As a workaround, API user permissions can be restricted to not allow querying of any affected objects, either by explicitly listing only the required object types for object query permissions, or by applying a filter rule.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2816-1, DLA-3953-1
Debian Bugs991494

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
icinga2 (PTS)jessie2.1.1-1vulnerable
stretch (security), stretch (lts), stretch2.6.0-2+deb9u2fixed
buster2.10.3-2+deb10u1vulnerable
bullseye2.12.3-1vulnerable
bullseye (security)2.12.3-1+deb11u1fixed
bookworm2.13.6-2+deb12u1fixed
sid, trixie2.14.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
icinga2sourceexperimental2.12.5-1~exp1
icinga2sourcestretch2.6.0-2+deb9u2DLA-2816-1
icinga2sourcebullseye2.12.3-1+deb11u1DLA-3953-1
icinga2source(unstable)2.12.5-1991494

Notes

[buster] - icinga2 <no-dsa> (Minor issue)
https://icinga.com/blog/2021/07/15/releasing-icinga-2-12-5-and-2-11-10/
https://github.com/Icinga/icinga2/security/advisories/GHSA-wrpw-pmr8-qgj7
https://github.com/Icinga/icinga2/commit/843353ab69f79b3abfeb38ac249b05e1944369ab (v2.12.5)
[jessie] - icinga2 <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems