Bug 1667579 (CVE-2019-5716)

Summary: CVE-2019-5716 wireshark: reachable assertion in fast_ensure_contiguous() from 6LoWPAN dissector
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: mruprich
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: wireshark 2.6.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-29 20:53:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1667580, 1686900    
Bug Blocks: 1667594    

Description Laura Pardo 2019-01-18 21:37:21 UTC
In Wireshark 2.6.0 to 2.6.5, the 6LoWPAN dissector could crash. This was addressed in epan/dissectors/packet-6lowpan.c by avoiding use of a TVB before its creation.


References:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15217
https://www.wireshark.org/security/wnpa-sec-2019-01.html

Upstream Patch:
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2b2eea1793dbff813896e1ae9dff1bedb39ee010

Comment 1 Laura Pardo 2019-01-18 21:37:32 UTC
Created wireshark tracking bugs for this issue:

Affects: fedora-all [bug 1667580]

Comment 2 Riccardo Schirone 2019-03-08 15:50:47 UTC
A reachable assertion was found in fast_ensure_contiguous() function in epan/tvbuff.c file, when called from the dissect_6lowpan() function.