CVE-2023-42118 Affecting exim package, versions <4.96.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-EXIM-5926855
  • published2 Oct 2023
  • disclosed3 May 2024

Introduced: 2 Oct 2023

CVE-2023-42118  (opens in a new tab)

How to fix?

Upgrade Chainguard exim to version 4.96.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exim package and not the exim package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Exim libspf2 Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17578.