CVE-2023-42116
Exim: SMTP Challenge Stack-based Buffer Overflow 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 SMTP Challenge Stack-based Buffer Overflow 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 handling of NTLM challenge requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17515.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.17 | exim | 4.96.1-r0 |
| alpine 3.18 | exim | 4.96.1-r0 |
| alpine 3.19 | exim | 4.96.1-r0 |
| alpine 3.20 | exim | 4.96.1-r0 |
| alpine 3.21 | exim | 4.96.1-r0 |
| alpine 3.22 | exim | 4.96.1-r0 |
| alpine 3.23 | exim | 4.96.1-r0 |
| alpine 3.24 | exim | 4.96.1-r0 |
| alpine edge | exim | 4.96.1-r0 |
| amazon linux 1 | exim, exim-debuginfo, exim-greylist and 3 more | 4.92-1.39.amzn1 |
| chainguard | exim | 4.96.1-r0 |
| debian 10 | exim4 | 4.92-8+deb10u8 |
Show all 34 entries from 29 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.17 | exim | 4.96.1-r0 |
| alpine 3.18 | exim | 4.96.1-r0 |
| alpine 3.19 | exim | 4.96.1-r0 |
| alpine 3.20 | exim | 4.96.1-r0 |
| alpine 3.21 | exim | 4.96.1-r0 |
| alpine 3.22 | exim | 4.96.1-r0 |
| alpine 3.23 | exim | 4.96.1-r0 |
| alpine 3.24 | exim | 4.96.1-r0 |
| alpine edge | exim | 4.96.1-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 |
| debian 10 | exim4 | 4.92-8+deb10u8 |
| debian 11 | exim4 | 4.94.2-7+deb11u1 |
| debian 12 | exim4 | 4.96-15+deb12u2 |
| debian 13 | exim4 | 4.97~RC1-2 |
| debian 14 | exim4 | 4.97~RC1-2 |
| echo | exim4 | 4.96-15+deb12u2 |
| rapidfort ubuntu 20.04 | exim4 | 0:4.95-4ubuntu2.3 |
| rapidfort ubuntu 22.04 | exim4 | 0:4.95-4ubuntu2.3 |
| rapidfort ubuntu 24.04 | exim4 | 0:4.95-4ubuntu2.3 |
| ubuntu 14.04-ESM | exim4 | 4.82-3ubuntu2.4+esm6 |
| ubuntu 16.04-ESM | exim4 | 4.86.2-2ubuntu2.6+esm4 |
| ubuntu 18.04-ESM | exim4 | 4.90.1-1ubuntu1.10+esm1 |
| ubuntu 20.04 | exim4 | 4.93-13ubuntu1.8 |
| ubuntu 20.04-ESM | exim4 | 4.93-13ubuntu1.8 |
| ubuntu 22.04 | exim4 | 4.95-4ubuntu2.3 |
| ubuntu 23.04 | exim4 | 4.96-14ubuntu1.2 |
| ubuntu 23.10 | exim4 | 4.96-17ubuntu2 |
| wolfi | exim | 4.96.1-r0 |
References
- https://access.redhat.com/security/cve/CVE-2023-42116
- https://lists.debian.org/debian-lts-announce/2023/10/msg00002.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-42116
- https://ubuntu.com/security/notices/USN-6411-1
- https://www.cve.org/CVERecord?id=CVE-2023-42116
- https://www.openwall.com/lists/oss-security/2023/10/02/3
- https://www.zerodayinitiative.com/advisories/ZDI-23-1470/