| Name | CVE-2020-14004 | 
| Description | An issue was discovered in Icinga2 before v2.12.0-rc1. The prepare-dirs script (run as part of the icinga2 systemd service) executes chmod 2750 /run/icinga2/cmd. /run/icinga2 is under control of an unprivileged user by default. If /run/icinga2/cmd is a symlink, then it will by followed and arbitrary files can be changed to mode 2750 by the unprivileged icinga2 user. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 970252 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| icinga2 (PTS) | bullseye | 2.12.3-1 | fixed | 
| bullseye (security) | 2.12.3-1+deb11u1 | fixed | |
| bookworm | 2.13.6-2+deb12u2 | fixed | |
| trixie | 2.14.6-1 | fixed | |
| forky, sid | 2.15.1-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| icinga2 | source | jessie | (not affected) | |||
| icinga2 | source | stretch | (not affected) | |||
| icinga2 | source | buster | 2.10.3-2+deb10u1 | |||
| icinga2 | source | (unstable) | 2.11.5-1 | 970252 | 
[stretch] - icinga2 <not-affected> (prepare-dirs script not shipped)
[jessie] - icinga2 <not-affected> (prepare-dirs script not shipped)
https://www.openwall.com/lists/oss-security/2020/06/12/1
https://bugzilla.suse.com/show_bug.cgi?id=1172171
https://github.com/Icinga/icinga2/commit/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6