Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-42115Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability
Critical 9.8
In plain English
A critical-severity out-of-bounds write in Exim from Exim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 12.2% (higher than 96% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | exim | 4.96.1-r0 | ALPINE-CVE-2023-42115 |
| Alpine:v3.21 | exim | 4.96.1-r0 | ALPINE-CVE-2023-42115 |
| Alpine:v3.22 | exim | 4.96.1-r0 | ALPINE-CVE-2023-42115 |
| Alpine:v3.23 | exim | 4.96.1-r0 | ALPINE-CVE-2023-42115 |
| Alpine:v3.24 | exim | 4.96.1-r0 | ALPINE-CVE-2023-42115 |
| Debian:12 | exim4 | 4.96-15+deb12u2 | DSA-5512-1 |
| Debian:12 | exim4 | 4.96-15+deb12u2 | DEBIAN-CVE-2023-42115 |
| Debian:13 | exim4 | 4.97~RC1-2 | DEBIAN-CVE-2023-42115 |
| Debian:14 | exim4 | 4.97~RC1-2 | DEBIAN-CVE-2023-42115 |
| Ubuntu:22.04:LTS | exim4 | 4.95-4ubuntu2.3 | UBUNTU-CVE-2023-42115 |
| Ubuntu:22.04:LTS | exim4 | 4.95-4ubuntu2.3 | USN-6411-1 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-23-1469 x_research-advisory