Name | CVE-2021-27216 |
Description | Exim 4 before 4.94.2 has Execution with Unnecessary Privileges. By leveraging a delete_pid_file race condition, a local user can delete arbitrary files as root. This involves the -oP and -oPX options. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
exim4 (PTS) | jessie, jessie (lts) | 4.84.2-2+deb8u12 | fixed |
| stretch (security) | 4.89-2+deb9u8 | fixed |
| stretch (lts), stretch | 4.89-2+deb9u13 | fixed |
| buster, buster (lts) | 4.92-8+deb10u10 | fixed |
| buster (security) | 4.92-8+deb10u9 | fixed |
| bullseye | 4.94.2-7+deb11u3 | fixed |
| bullseye (security) | 4.94.2-7+deb11u4 | fixed |
| bookworm | 4.96-15+deb12u6 | fixed |
| bookworm (security) | 4.96-15+deb12u5 | fixed |
| sid, trixie | 4.98-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
exim4 | source | jessie | (not affected) | | | |
exim4 | source | stretch | (not affected) | | | |
exim4 | source | buster | (not affected) | | | |
exim4 | source | (unstable) | 4.94.2-1 | | | |
Notes
[buster] - exim4 <not-affected> (Vulnerable code introduced later)
[stretch] - exim4 <not-affected> (Vulnerable code introduced later)
Introduced by: https://git.exim.org/exim.git/commit/01446a56c76aa5ac3213a86f8992a2371a8301f3 (exim-4_94_RC0)
https://www.openwall.com/lists/oss-security/2021/05/04/7
[jessie] - exim4 <not-affected> (Vulnerability introduced later)