Bug 807644 (CVE-2012-1595)

Summary: CVE-2012-1595 wireshark: Heap-based buffer overflow when reading ERF packets from pcap/pcap-ng trace files
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alekcejk, huzaifas, jsafrane, rvokal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-23 17:50:52 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: 808973, 808974, 809045, 809046    
Bug Blocks: 807617    

Description Jan Lieskovsky 2012-03-28 11:58:33 UTC
An integer underflow, subsequently leading to request to allocate a large amount of memory was found in the way pcap and pcap-ng file parsers of Wireshark, a network traffic analyzer, processed Extension and / or Multi-Channel header information in ERF files. A remote attacker could provide a specially-crafted packet capture file (with size of full pseudoheader being greater than the packet size), which once opened by a local unsuspecting user would lead to wireshark executable abort.

Upstream bug report:
[1] https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6804

Relevant upstream patch:
[2] http://anonsvn.wireshark.org/viewvc?view=revision&revision=41008

CVE Request:
[3] http://www.openwall.com/lists/oss-security/2012/03/28/7

Reproducer:
[4] https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7787

Upstream advisory:
[5] http://www.wireshark.org/security/wnpa-sec-2012-06.html

Comment 2 Kurt Seifried 2012-03-28 15:09:46 UTC
Added CVE as per http://www.openwall.com/lists/oss-security/2012/03/28/13

Comment 7 Huzaifa S. Sidhpurwala 2012-04-02 04:26:25 UTC
Created wireshark tracking bugs for this issue

Affects: fedora-15 [bug 808974]
Affects: fedora-16 [bug 808973]

Comment 9 Fedora Update System 2012-04-19 05:22:18 UTC
wireshark-1.4.12-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-04-19 05:23:05 UTC
wireshark-1.6.6-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 errata-xmlrpc 2012-04-23 16:52:58 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0509 https://rhn.redhat.com/errata/RHSA-2012-0509.html

Comment 12 Vincent Danen 2012-04-23 17:50:52 UTC
Statement:

This issue did not affect the versions of wireshark as shipped with Red Hat Enterprise Linux 5.