CVEfocus › CVE database › CVE-2021-27216

CVE-2021-27216

CVSS 6.3 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2021-05-06Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04exim4Fixed4.93-13ubuntu1.5UBUNTU-CVE-2021-27216
Ubuntu 18.04exim4Fixed4.90.1-1ubuntu1.8UBUNTU-CVE-2021-27216
Ubuntu 16.04exim4Fix pending4.86.2-2ubuntu2.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-27216
Ubuntu 14.04exim4Fix pending4.82-3ubuntu2.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2021-27216
Debian 14exim4Fixed4.94.2-1DEBIAN-CVE-2021-27216
Debian 13exim4Fixed4.94.2-1DEBIAN-CVE-2021-27216
Debian 12exim4Fixed4.94.2-1DEBIAN-CVE-2021-27216
Alpine Linux 3.24eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.23eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.22eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.21eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.20eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.19eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.18eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.17eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.16eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.15eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.14eximFixed4.94.2-r0ALPINE-CVE-2021-27216
Alpine Linux 3.13eximFixed4.94.2-r0ALPINE-CVE-2021-27216

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.