Bug 1886051 (CVE-2020-25866)

Summary: CVE-2020-25866 wireshark: BLIP dissector crash (wnpa-sec-2020-13)
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alekcejk, denis, huzaifas, lemenkov, mruprich, msehnout, peter, rvokal, sergey.avseyev
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: wireshark 3.0.7, wireshark 3.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-08 02:21:21 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: 1886052    
Bug Blocks: 1886053    

Description Guilherme de Almeida Suckevicz 2020-10-07 14:35:37 UTC
In Wireshark 3.2.0 to 3.2.6 and 3.0.0 to 3.0.13, the BLIP protocol dissector has a NULL pointer dereference because a buffer was sized for compressed (not uncompressed) messages. This was addressed in epan/dissectors/packet-blip.c by allowing reasonable compression ratios and rejecting ZIP bombs.

References:
https://www.wireshark.org/security/wnpa-sec-2020-13.html
https://gitlab.com/wireshark/wireshark/-/issues/16866

Upstream patch:
https://gitlab.com/wireshark/wireshark/-/commit/4a948427100b6c109f4ec7b4361f0d2aec5e5c3f

Comment 1 Guilherme de Almeida Suckevicz 2020-10-07 14:36:13 UTC
Created wireshark tracking bugs for this issue:

Affects: fedora-all [bug 1886052]

Comment 2 Todd Cullum 2020-10-07 21:45:20 UTC
Statement:

Wireshark as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8 is not affected because the versions shipped do not contain the BLIP dissector.

Comment 3 Todd Cullum 2020-10-07 22:05:11 UTC
Flaw summary:

The BLIP dissector causes a crash when uncompressed messages > 16kb are provided. The patch has increased this size to 64kb and if the dissector fails, an error message displayed rather than a crash of Wireshark.

Comment 5 Product Security DevOps Team 2020-10-08 02:21:21 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-25866