Bug 1667581 (CVE-2019-5717)

Summary: CVE-2019-5717 wireshark: P_MUL dissector crash in epan/dissectors/packet-p_mul.c
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.4.12, 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:54:28 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: 1667582, 1686906    
Bug Blocks: 1667594    

Description Laura Pardo 2019-01-18 21:44:37 UTC
In Wireshark 2.6.0 to 2.6.5 and 2.4.0 to 2.4.11, the P_MUL dissector could crash. This was addressed in epan/dissectors/packet-p_mul.c by rejecting the invalid sequence number of zero.


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

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

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

Affects: fedora-all [bug 1667582]

Comment 3 Riccardo Schirone 2019-03-08 16:08:06 UTC
Function wmem_map_lookup() in wmem_map.c receives p_mul_data->ack_data, which is NULL, from register_p_mul_id(). When wmem_map_lookup() tries to dereference the passed value, the application crashes.