Out-of-bounds read in Exim - CVE-2020-28025

 

Out-of-bounds read in Exim - CVE-2020-28025

Published: May 4, 2021


Vulnerability identifier: #VU52872
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-28025
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in pdkim_finish_bodyhash() function. A remote attacker can trigger out-of-bounds read error and read contents of memory on the system.


Affected software

Exim
Amazon Linux AMI
Gentoo Linux
Ubuntu
exim4 (Debian package)
exim4-daemon-light (Ubuntu package)
exim4-daemon-heavy (Ubuntu package)
exim4-base (Ubuntu package)
exim

How to mitigate CVE-2020-28025

Install updates from vendor's website.

Exim - update to 4.94.2
exim4 (Debian package) - update to 4.92-8+deb10u6
exim4-daemon-light (Ubuntu package) - addressed in versions 4.86.22ubuntu2.6+esm1, 4.90.1-1ubuntu1.8, 4.93-13ubuntu1.5, 4.94-7ubuntu1.2, 4.94-15ubuntu1.2
exim4-daemon-heavy (Ubuntu package) - addressed in versions 4.86.22ubuntu2.6+esm1, 4.90.1-1ubuntu1.8, 4.93-13ubuntu1.5, 4.94-7ubuntu1.2, 4.94-15ubuntu1.2
exim4-base (Ubuntu package) - addressed in versions 4.86.22ubuntu2.6+esm1, 4.90.1-1ubuntu1.8, 4.93-13ubuntu1.5, 4.94-7ubuntu1.2, 4.94-15ubuntu1.2
exim - update to 4.92-1.33

External References

Related Security Bulletins