CVE-2023-42117
Exim: Improper Neutralization of Special Elements Remote Code Execution Vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Ubuntu (medium).
Description
Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-17554.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.17 | exim | 4.96.2-r0 |
| alpine 3.18 | exim | 4.96.2-r0 |
| alpine 3.19 | exim | 4.96.2-r0 |
| alpine 3.20 | exim | 4.96.2-r0 |
| alpine 3.21 | exim | 4.96.2-r0 |
| alpine 3.22 | exim | 4.96.2-r0 |
| alpine 3.23 | exim | 4.96.2-r0 |
| alpine 3.24 | exim | 4.96.2-r0 |
| alpine edge | exim | 4.96.2-r0 |
| amazon linux 1 | exim, exim-debuginfo, exim-greylist and 3 more | 4.92-1.39.amzn1 |
| chainguard | exim, libspf2 | 4.96.1-r0 and 1 more |
| debian 10 | exim4 | no fix listed |
Show all 36 entries from 29 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.17 | exim | 4.96.2-r0 |
| alpine 3.18 | exim | 4.96.2-r0 |
| alpine 3.19 | exim | 4.96.2-r0 |
| alpine 3.20 | exim | 4.96.2-r0 |
| alpine 3.21 | exim | 4.96.2-r0 |
| alpine 3.22 | exim | 4.96.2-r0 |
| alpine 3.23 | exim | 4.96.2-r0 |
| alpine 3.24 | exim | 4.96.2-r0 |
| alpine edge | exim | 4.96.2-r0 |
| amazon linux 1 | exim | 4.92-1.39.amzn1 |
| amazon linux 1 | exim-debuginfo | 4.92-1.39.amzn1 |
| amazon linux 1 | exim-greylist | 4.92-1.39.amzn1 |
| amazon linux 1 | exim-mon | 4.92-1.39.amzn1 |
| amazon linux 1 | exim-mysql | 4.92-1.39.amzn1 |
| amazon linux 1 | exim-pgsql | 4.92-1.39.amzn1 |
| chainguard | exim | 4.96.1-r0 |
| chainguard | libspf2 | 1.2.11-r1 |
| debian 10 | exim4 | no fix listed |
| debian 11 | exim4 | 4.94.2-7+deb11u4 |
| debian 12 | exim4 | 4.96-15+deb12u3 |
| debian 13 | exim4 | 4.97~RC2-2 |
| debian 14 | exim4 | 4.97~RC2-2 |
| echo | exim4 | 4.96-15+deb12u3 |
| rapidfort ubuntu 20.04 | exim4 | 0:4.95-4ubuntu2.4 |
| rapidfort ubuntu 22.04 | exim4 | 0:4.95-4ubuntu2.4 |
| rapidfort ubuntu 24.04 | exim4 | 0:4.95-4ubuntu2.4 |
| ubuntu 14.04-ESM | exim4 | 4.82-3ubuntu2.4+esm7 |
| ubuntu 16.04-ESM | exim4 | 4.86.2-2ubuntu2.6+esm5 |
| ubuntu 18.04-ESM | exim4 | 4.90.1-1ubuntu1.10+esm2 |
| ubuntu 20.04 | exim4 | 4.93-13ubuntu1.9 |
| ubuntu 20.04-ESM | exim4 | 4.93-13ubuntu1.9 |
| ubuntu 22.04 | exim4 | 4.95-4ubuntu2.4 |
| ubuntu 23.04 | exim4 | 4.96-14ubuntu1.3 |
| ubuntu 23.10 | exim4 | 4.96-17ubuntu2.1 |
| wolfi | exim | 4.96.1-r0 |
| wolfi | libspf2 | 1.2.11-r1 |
References
- https://access.redhat.com/security/cve/CVE-2023-42117
- https://exim.org/static/doc/security/CVE-2023-zdi.txt
- https://lists.debian.org/debian-lts-announce/2024/10/msg00029.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-42117
- https://ubuntu.com/security/notices/USN-6455-1
- https://ubuntu.com/security/notices/USN-6455-2
- https://www.cve.org/CVERecord?id=CVE-2023-42117
- https://www.zerodayinitiative.com/advisories/ZDI-23-1471/