Bug 1581773 (CVE-2018-11358)

Summary: CVE-2018-11358 wireshark: Use after free in packet-q931.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: denis, huzaifas, lemenkov, mruprich, msehnout, phatina
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20180513,reported=20180522,source=internet,cvss3=6.5/CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H,cwe=CWE-416,fedora-all/wireshark=affected,rhel-5/wireshark=wontfix,rhel-6/wireshark=wontfix,rhel-7/wireshark=affected,rhel-8/wireshark=notaffected
Fixed In Version: wireshark 2.6.1, wireshark 2.4.7, wireshark 2.2.15 Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the code responsible for processing packages from Q.931 protocol, in wireshark. An attacker can send specially crafted packages over the network which, when received, would cause an application to crash, or potentially, corrupt information.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1581754, 1581791, 1591489    
Bug Blocks: 1581792    

Description Laura Pardo 2018-05-23 15:28:37 UTC
A flaw was found in Wireshark 2.6.0, 2.4.0 to 2.4.6, and 2.2.0 to 2.2.14, the Q.931 dissector could crash. It may be possible to make Wireshark crash by injecting a malformed packet onto the wire or by convincing someone to read a malformed packet trace file. This was addressed in epan/dissectors/packet-q931.c by avoiding a use-after-free after a malformed packet prevented certain cleanup.


References:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14689 
https://www.wireshark.org/security/wnpa-sec-2018-31.html

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

Comment 1 Laura Pardo 2018-05-23 15:48:57 UTC
Created wireshark tracking bugs for this issue:

Affects: fedora-all [bug 1581754]