CVE-2023-42118

EUVD-2023-46577
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.
Wrap or Wraparound
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
ADJACENT_NETWORK
LOW
NONE
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
zdiCNA
7.5 HIGH
CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 86%
Affected Products (NVD)
VendorProductVersion
libspf2_projectlibspf2
-
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libspf2
bookworm
postponed
bullseye
postponed
bullseye (security)
vulnerable
buster
postponed
sid
vulnerable
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
exim4
bionic
deferred
focal
deferred
jammy
deferred
lunar
ignored
mantic
ignored
noble
deferred
oracular
deferred
trusty
ignored
xenial
deferred
libspf2
bionic
deferred
focal
deferred
jammy
deferred
lunar
ignored
mantic
ignored
noble
deferred
oracular
deferred
trusty
ignored
xenial
deferred