Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-42117Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability
High 8.1
In plain English
A high-severity security flaw in Exim from Exim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.8% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | exim | 4.96.2-r0 | ALPINE-CVE-2023-42117 |
| Alpine:v3.21 | exim | 4.96.2-r0 | ALPINE-CVE-2023-42117 |
| Alpine:v3.22 | exim | 4.96.2-r0 | ALPINE-CVE-2023-42117 |
| Alpine:v3.23 | exim | 4.96.2-r0 | ALPINE-CVE-2023-42117 |
| Alpine:v3.24 | exim | 4.96.2-r0 | ALPINE-CVE-2023-42117 |
| Debian:12 | exim4 | 4.96-15+deb12u3 | DEBIAN-CVE-2023-42117 |
| Debian:13 | exim4 | 4.97~RC2-2 | DEBIAN-CVE-2023-42117 |
| Debian:14 | exim4 | 4.97~RC2-2 | DEBIAN-CVE-2023-42117 |
| Ubuntu:22.04:LTS | exim4 | 4.95-4ubuntu2.4 | UBUNTU-CVE-2023-42117 |
| Ubuntu:22.04:LTS | exim4 | 4.95-4ubuntu2.4 | USN-6455-1 |
Affected products (as reported)
Weakness: CWE-138 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-23-1471 x_research-advisory
- https://lists.debian.org/debian-lts-announce/2024/10/msg00029.html