vendor:
TShark
by:
Chris Benedict, Aurelien Delaitre, NIST SAMATE Project
7,5
CVSS
HIGH
Divide-by-zero Error
369
CWE
Product Name: TShark
Affected Version From: 1.12.8
Affected Version To: 2.0.4
Patch Exists: YES
Related CWE: N/A
CPE: a:wireshark:tshark
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux
2015
Divide-by-zero Error in TShark
This issue was uncovered with AFL (http://lcamtuf.coredump.cx/afl/). The attached sample evokes a divide-by-zero error in the dissect_pbb_tlvblock() function at packet-packetbb.c:289. The variable of interest seems to be 'c' which is set at packet-packetbb.c:285 using two other variables and an addition. When c is zero, the expression 'length/c' at packet-packetbb.c:289 results in a divide-by-zero error. Divide-by-zero has been observed when sample is parsed by tshark versions 1.12.8, 1.12.9, 1.12.10, 1.12.12, and 2.0.4 among others.
Mitigation:
Upgrade to the latest version of TShark