There are multiple vulnerabilities in tcpdump and libpcap related to parsing of ISAKMP packets.
|Package||net-analyzer/tcpdump on all architectures|
|Affected versions||<= 3.8.1|
|Unaffected versions||>= 3.8.3-r1|
|Package||net-libs/libpcap on all architectures|
|Affected versions||<= 0.8.1-r1|
|Unaffected versions||>= 0.8.3-r1|
Tcpdump is a program for monitoring IP network traffic. Libpcap is a supporting library which is responsibile for capturing packets off a network interface.
There are two specific vulnerabilities in tcpdump, outlined in [ reference 1 ]. In the first scenario, an attacker may send a specially-crafted ISAKMP Delete packet which causes tcpdump to read past the end of its buffer. In the second scenario, an attacker may send an ISAKMP packet with the wrong payload length, again causing tcpdump to read past the end of a buffer.
Remote attackers could potentially cause tcpdump to crash or execute arbitrary code as the 'pcap' user.
There is no known workaround at this time. All tcpdump users are encouraged to upgrade to the latest available version.
All tcpdump users should upgrade to the latest available version. ADDITIONALLY, the net-libs/libpcap package should be upgraded.
# emerge sync # emerge -pv ">=net-libs/libpcap-0.8.3-r1" ">=net-analyzer/tcpdump-3.8.3-r1" # emerge ">=net-libs/libpcap-0.8.3-r1" ">=net-analyzer/tcpdump-3.8.3-r1"