CVE-2021-27216

NameCVE-2021-27216
DescriptionExim 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.
SourceCVE (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 PackageReleaseVersionStatus
exim4 (PTS)bullseye4.94.2-7+deb11u3fixed
bullseye (security)4.94.2-7+deb11u4fixed
bookworm4.96-15+deb12u6fixed
bookworm (security)4.96-15+deb12u5fixed
sid, trixie4.98-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exim4sourcestretch(not affected)
exim4sourcebuster(not affected)
exim4source(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

Search for package or bug name: Reporting problems