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.

Severity (CVSS 3.0)8.1High
Exploit odds (30 days)6.8%top 6.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20exim4.96.2-r0ALPINE-CVE-2023-42117
Alpine:v3.21exim4.96.2-r0ALPINE-CVE-2023-42117
Alpine:v3.22exim4.96.2-r0ALPINE-CVE-2023-42117
Alpine:v3.23exim4.96.2-r0ALPINE-CVE-2023-42117
Alpine:v3.24exim4.96.2-r0ALPINE-CVE-2023-42117
Debian:12exim44.96-15+deb12u3DEBIAN-CVE-2023-42117
Debian:13exim44.97~RC2-2DEBIAN-CVE-2023-42117
Debian:14exim44.97~RC2-2DEBIAN-CVE-2023-42117
Ubuntu:22.04:LTSexim44.95-4ubuntu2.4UBUNTU-CVE-2023-42117
Ubuntu:22.04:LTSexim44.95-4ubuntu2.4USN-6455-1

Affected products (as reported)

VendorProductVersions
Exim Exim 4.96-RC1-11-315206fbf

Weakness: CWE-138 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References