cve.bz

CVE-2020-28021 (21Nails) exim exim

8.8 highEPSS 4.1%

Known as 21Nails

High (8.8) in exim exim. EPSS 4.1% estimated probability of exploitation activity in the next 30 days.

On this page
Exim 4 before 4.94.2 has Improper Neutralization of Line Delimiters. An authenticated remote SMTP client can insert newline characters into a spool file (which indirectly leads to remote code execution as root) via AUTH= in a MAIL FROM command.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-28021 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-28021?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-28021?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-28021 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exim:eximfrom 4.00 before 4.94.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9exim44.89-2+deb9u8DLA-2650-1
Debian10exim44.92-8+deb10u6DSA-4912-1
Debian12, 13, 14exim44.94.2-1DEBIAN-CVE-2020-28021
Ubuntu18.04:LTSexim44.90.1-1ubuntu1.8UBUNTU-CVE-2020-28021 USN-4934-1
Ubuntu20.04:LTSexim44.93-13ubuntu1.5UBUNTU-CVE-2020-28021 USN-4934-1
UbuntuPro:14.04:LTSexim44.82-3ubuntu2.4+esm3UBUNTU-CVE-2020-28021
UbuntuPro:16.04:LTSexim44.86.2-2ubuntu2.6+esm1UBUNTU-CVE-2020-28021
SUSEPackage Hub 15 SP1exim4.94.2-bp151.2.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP1libspf21.2.10-bp151.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP2exim4.94.2-bp152.6.4.1openSUSE-SU-2021:0754-1
SUSEPackage Hub 15 SP2libspf21.2.10-bp152.5.1openSUSE-SU-2021:0754-1
openSUSELeap 15.2exim4.94.2-lp152.8.3.1openSUSE-SU-2021:0677-1
openSUSETumbleweedexim4.94.2-4.2openSUSE-SU-2024:10746-1
Alpinev3.13, v3.14, v3.15 and 9 moreexim4.94.2-r0ALPINE-CVE-2020-28021

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Exim New-Line Injection into Spool Header File Inbound M1 (CVE-2020-28021) sid 2032900
  • Emerging Threats Open ET EXPLOIT Exim New-Line Injection into Spool Header File Inbound M2 (CVE-2020-28021) sid 2032901
  • Emerging Threats Open ET EXPLOIT Exim New-Line Injection into Spool Header File Inbound - Information Disclosure Attempt (CVE-2020-28021) sid 2032902

References

Check your stackJSON