CVE-2020-28021
Exim vulnerability analysis and mitigation

Overview

CVE-2020-28021 is a remote code execution vulnerability affecting Exim mail server versions before 4.94.2. The vulnerability allows an authenticated remote SMTP client to inject newline characters into a spool file via AUTH= in a MAIL FROM command, which can indirectly lead to remote code execution with root privileges (Qualys Advisory, NVD).

Technical details

The vulnerability is part of the '21Nails' collection of vulnerabilities discovered in Exim. It is classified as a new-line injection vulnerability that can be exploited remotely by an authenticated user. The vulnerability has a CVSS v3.1 Base Score of 8.8 HIGH (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and a CVSS v2.0 Base Score of 9.0 HIGH (Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C) (NVD).

Impact

When successfully exploited, this vulnerability allows an authenticated attacker to execute arbitrary commands with root privileges on the target system. This is particularly severe as it can lead to complete system compromise, allowing attackers to gain full control over the mail server (Qualys Advisory).

Mitigation and workarounds

The vulnerability has been patched in Exim version 4.94.2. System administrators are strongly advised to update to this version or later to protect against this vulnerability. All versions of Exim prior to 4.94.2 should be considered obsolete and vulnerable (ConnectWise).

Community reactions

The vulnerability was part of the '21Nails' disclosure which received significant attention due to Exim's widespread use, affecting approximately 60% of internet email servers. The security community emphasized the importance of immediate patching due to the critical nature of these vulnerabilities (The Record).

Additional resources


SourceThis report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26794CRITICAL9.8
  • EximExim
  • cpe:2.3:a:exim:exim
NoYesFeb 21, 2025
CVE-2023-42118HIGH8.8
  • EximExim
  • exim4
NoYesMay 03, 2024
CVE-2025-30232HIGH7.8
  • EximExim
  • exim-clamav
NoYesMar 28, 2025
CVE-2024-39929MEDIUM5.4
  • EximExim
  • cpe:2.3:a:exim:exim
NoYesJul 04, 2024
CVE-2023-42119LOW3.1
  • EximExim
  • exim4
NoYesMay 03, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management