CVE-2023-42115
Exim: AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by Red Hat. Rated lower by Ubuntu (medium).
Description
Exim AUTH Out-Of-Bounds Write 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 write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.
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 |
| chainguard | exim | 4.96.1-r0 |
| debian 11 | exim4 | 4.94.2-7+deb11u1 |
| debian 12 | exim4 | 4.96-15+deb12u2 |
Show all 24 entries from 24 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 |
| chainguard | exim | 4.96.1-r0 |
| 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 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-42115
- https://nvd.nist.gov/vuln/detail/CVE-2023-42115
- https://ubuntu.com/security/notices/USN-6411-1
- https://www.cve.org/CVERecord?id=CVE-2023-42115
- https://www.openwall.com/lists/oss-security/2023/10/02/3
- https://www.zerodayinitiative.com/advisories/ZDI-23-1469/