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) | 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 | 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