CVEfocus › CVE database › CVE-2023-42115

CVE-2023-42115Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability

CVSS 9.8 CriticalEPSS 4.2% (higher than 92% of CVEs)Published 2024-05-03Updated 2024-09-20Assigner: zdi

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.

CWE-787

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04exim4Fixed4.95-4ubuntu2.3UBUNTU-CVE-2023-42115
Ubuntu 20.04exim4Fixed4.93-13ubuntu1.8UBUNTU-CVE-2023-42115
Ubuntu 16.04exim4Fix pending
Debian 14exim4Fixed4.97~RC1-2DEBIAN-CVE-2023-42115
Debian 13exim4Fixed4.97~RC1-2DEBIAN-CVE-2023-42115
Debian 12exim4Fixed4.96-15+deb12u2DEBIAN-CVE-2023-42115
Alpine Linux 3.24eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.23eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.22eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.21eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.20eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.19eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.18eximFixed4.96.1-r0ALPINE-CVE-2023-42115
Alpine Linux 3.17eximFixed4.96.1-r0ALPINE-CVE-2023-42115

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.