Bug 840592 (CVE-2012-3422)

Summary: CVE-2012-3422 icedtea-web: getvalueforurl uninitialized instance pointer
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: adomurad, dbhole, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: icedtea-web 1.1.6, icedtea-web 1.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-31 21:56:45 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: 841861, 841862, 844770    
Bug Blocks: 841346    
Attachments:
Description Flags
Fix for 1.1/1.2/1.3/HEAD none

Description Tomas Hoger 2012-07-16 15:59:59 UTC
An uninitialized pointer use flaw was found in IcedTea-Web web browser plugin.  A malicious web page could use this flaw make IcedTea-Web browser plugin pass invalid pointer to a web browser.  Depending on the browser used, it may cause the browser to crash or possibly execute arbitrary code.

The get_cookie_info() and get_proxy_info() call getFirstInTableInstance() with the instance_to_id_map hash as a parameter.  If instance_to_id_map is empty (which can happen when plugin was recently removed), getFirstInTableInstance() returns an uninitialized pointer.

http://icedtea.classpath.org/hg/icedtea-web/file/01544fb82384/plugin/icedteanp/IcedTeaNPPlugin.cc#l292

Comment 2 Adam Domurad 2012-07-16 17:51:49 UTC
Created attachment 598511 [details]
Fix for 1.1/1.2/1.3/HEAD

Comment 5 Tomas Hoger 2012-07-20 13:53:22 UTC
Acknowledgment:

Red Hat would like to thank Chamal De Silva for reporting this issue.

Comment 6 Tomas Hoger 2012-07-31 18:01:13 UTC
Lifting embargo.

Comment 7 Tomas Hoger 2012-07-31 18:02:18 UTC
Created icedtea-web tracking bugs for this issue

Affects: fedora-all [bug 844770]

Comment 9 Tomas Hoger 2012-07-31 18:40:30 UTC
Fixed upstream in IcedTea-web 1.1.6 and 1.2.1:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-July/019580.html

Comment 10 errata-xmlrpc 2012-07-31 18:56:09 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 11 Fedora Update System 2012-09-21 23:52:58 UTC
icedtea-web-1.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-09-25 06:18:57 UTC
icedtea-web-1.3-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.