CVE-2023-42115

NameCVE-2023-42115
DescriptionExim 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5512-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exim4 (PTS)jessie, jessie (lts)4.84.2-2+deb8u13fixed
stretch (security)4.89-2+deb9u8fixed
stretch (lts), stretch4.89-2+deb9u14fixed
buster, buster (lts)4.92-8+deb10u11fixed
buster (security)4.92-8+deb10u9fixed
bullseye4.94.2-7+deb11u3fixed
bullseye (security)4.94.2-7+deb11u4fixed
bookworm4.96-15+deb12u6fixed
bookworm (security)4.96-15+deb12u5fixed
trixie4.98-2fixed
sid4.98-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exim4sourcejessie(not affected)
exim4sourcestretch(not affected)
exim4sourcebuster(not affected)
exim4sourcebullseye4.94.2-7+deb11u1DSA-5512-1
exim4sourcebookworm4.96-15+deb12u2DSA-5512-1
exim4source(unstable)4.97~RC1-2

Notes

[buster] - exim4 <not-affected> (External authenticator support was introduced later)
https://www.zerodayinitiative.com/advisories/ZDI-23-1469/
https://bugs.exim.org/show_bug.cgi?id=2999
https://git.exim.org/exim.git/log/refs/heads/exim-4.96%20security/exim.git/commit/955f1203c15be96fa84b5331fa2a5cb2e556b9a9 (exim-4.96.1)
https://www.openwall.com/lists/oss-security/2023/09/29/5
https://www.openwall.com/lists/oss-security/2023/10/01/4
https://exim.org/static/doc/security/CVE-2023-zdi.txt
[stretch] - exim4 <not-affected> (The vulnerable code was introduced later)
[jessie] - exim4 <not-affected> (The vulnerable code was introduced later)

Search for package or bug name: Reporting problems