Bug 773728 (CVE-2012-0042) - CVE-2012-0042 wireshark: NULL pointer vulnerabilities (wnpa-sec-2012-02)
Summary: CVE-2012-0042 wireshark: NULL pointer vulnerabilities (wnpa-sec-2012-02)
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-0042
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 781268 809045 809046 834180
Blocks: 773730 807617 816611
TreeView+ depends on / blocked
 
Reported: 2012-01-12 17:49 UTC by Vincent Danen
Modified: 2021-02-24 13:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-08 09:12:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0509 0 normal SHIPPED_LIVE Moderate: wireshark security update 2012-04-23 20:47:35 UTC
Red Hat Product Errata RHSA-2013:0125 0 normal SHIPPED_LIVE Moderate: wireshark security, bug fix, and enhancement update 2013-01-08 09:22:17 UTC

Description Vincent Danen 2012-01-12 17:49:08 UTC
Wireshark was improperly handling NULL pointers when displaying packet information which could lead to a 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 is corrected in upstream 1.4.11 and 1.6.5.

http://www.wireshark.org/security/wnpa-sec-2012-02.html

Comment 1 Huzaifa S. Sidhpurwala 2012-01-13 06:20:12 UTC
Created wireshark tracking bugs for this issue

Affects: fedora-all [bug 781268]

Comment 2 Huzaifa S. Sidhpurwala 2012-01-13 07:26:39 UTC
The upstream patch for this issue does two things:

1. Check some functions in epan/to_str.c for NULL arguments and bail out if these are NULL. It also documents that some functions return non-null terminated strings

Reference: 
http://anonsvn.wireshark.org/viewvc?view=revision&revision=40194

This code segment exists in all the version of wireshark shipped with Red Hat Enterprise Linux.

2. Changes to the HP Teaming heartbeat dissector to sanitize some of the parameters read from the network/scan file

Reference:
http://anonsvn.wireshark.org/viewvc?view=revision&revision=40195
http://anonsvn.wireshark.org/viewvc?view=revision&revision=40196

The HP team dissector does not exist in the versions of wireshark shipped with Red Hat Enterprise Linux 4, 5 and 6.

Though this issue is being trigged by values passed from the HP team dissector, there are other dissectors in wireshark, which use routines defined in to_str.c to process text. Since these routines dont check for NULL input values, they cause a crash. A part of the patch addresses this issue and sanitizes these input values

Comment 4 Fedora Update System 2012-01-22 22:52:45 UTC
wireshark-1.6.5-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 5 Fedora Update System 2012-01-24 20:01:12 UTC
wireshark-1.4.11-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 7 errata-xmlrpc 2012-04-23 16:52:50 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 9 errata-xmlrpc 2013-01-08 05:00:47 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:0125 https://rhn.redhat.com/errata/RHSA-2013-0125.html

Comment 11 Huzaifa S. Sidhpurwala 2013-01-08 09:11:38 UTC
Statement:

(none)


Note You need to log in before you can comment on or make changes to this bug.