Bug 840592 (CVE-2012-3422) - CVE-2012-3422 icedtea-web: getvalueforurl uninitialized instance pointer
Summary: CVE-2012-3422 icedtea-web: getvalueforurl uninitialized instance pointer
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3422
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 841861 841862 844770
Blocks: 841346
TreeView+ depends on / blocked
 
Reported: 2012-07-16 15:59 UTC by Tomas Hoger
Modified: 2021-02-23 14:18 UTC (History)
3 users (show)

Fixed In Version: icedtea-web 1.1.6, icedtea-web 1.2.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-31 21:56:45 UTC


Attachments (Terms of Use)
Fix for 1.1/1.2/1.3/HEAD (974 bytes, patch)
2012-07-16 17:51 UTC, Adam Domurad
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1132 0 normal SHIPPED_LIVE Important: icedtea-web security update 2012-07-31 22:55:06 UTC

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.


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