Skip to content
OpenAdvisories
Unscored Public exploit CVE-2005-0021 EUVD-2005-0022GHSA-4wq7-f94f-64w2

Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 compon…

Published Jan 6, 2005 · Updated Aug 7, 2024 · Assigned by mitre

Description

Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 exim4 4.34-10 —
Debian 13 exim4 4.34-10 —
Debian 12 exim4 4.34-10 —
Debian 3.0 exim 3.35-1woody4 DSA-635-1
Debian 3.0 exim-tls 3.35-3woody3 DSA-637-1
ReleasePackageFixed inAdvisory
RHEL 4 exim +3 4.43-1.RHEL4.3 RHSA-2005:025

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References