CVE-2023-42117

NameCVE-2023-42117
DescriptionExim 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3938-1, ELA-1246-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+deb9u8vulnerable
stretch (lts), stretch4.89-2+deb9u14fixed
buster, buster (lts)4.92-8+deb10u11fixed
buster (security)4.92-8+deb10u9vulnerable
bullseye4.94.2-7+deb11u3vulnerable
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
exim4sourcejessie4.84.2-2+deb8u13ELA-1246-1
exim4sourcestretch4.89-2+deb9u14ELA-1246-1
exim4sourcebuster4.92-8+deb10u11ELA-1246-1
exim4sourcebullseye4.94.2-7+deb11u4DLA-3938-1
exim4sourcebookworm4.96-15+deb12u3
exim4source(unstable)4.97~RC2-2

Notes

[buster] - exim4 <no-dsa> (Only an issue if Exim4 run behind an untrusted proxy-protocol proxy)
https://www.zerodayinitiative.com/advisories/ZDI-23-1471/
https://bugs.exim.org/show_bug.cgi?id=3031
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
Fixed by: https://git.exim.org/exim.git/commit/a95acb1c19c2e3600ef327c71318e33316d34440 (exim-4.96.2)
Fixed by: https://git.exim.org/exim.git/commit/654056e44fc93a0ee7c09d1228933e8af6862206 (exim-4.96.2)

Search for package or bug name: Reporting problems