Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2007-3798 EUVD-2007-3782GHSA-cg3g-c98g-38cg

Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote attackers to execute arbitrary code via cra…

Published Jul 16, 2007 · Updated Oct 15, 2024 · Assigned by mitre

Description

Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote attackers to execute arbitrary code via crafted TLVs in a BGP packet, related to an unchecked return value.

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 tcpdump 3.9.5-3 —
Debian 13 tcpdump 3.9.5-3 —
Debian 12 tcpdump 3.9.5-3 —
Debian 4.0 tcpdump 3.9.5-2etch1 DSA-1353-1
Debian 3.1 tcpdump 3.8.3-5sarge3 DSA-1353-1
ReleasePackageFixed inAdvisory
RHEL 5 arpwatch 14:2.1a13-18.el5 RHSA-2007:0368
RHEL 5 libpcap +1 14:0.9.4-11.el5 RHSA-2007:0368
RHEL 5 tcpdump 14:3.9.4-11.el5 RHSA-2007:0368
RHEL 4 arpwatch 14:2.1a13-12.el4 RHSA-2007:0387
RHEL 4 libpcap 14:0.8.3-12.el4 RHSA-2007:0387
RHEL 4 tcpdump 14:3.8.2-12.el4 RHSA-2007:0387

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 1

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

Advisories 3

References