Bug 841345 (CVE-2012-3423)

Summary: CVE-2012-3423 icedtea-web: incorrect handling of not 0-terminated strings
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: impact=important,public=20120731,reported=20120713,source=upstream,cvss2=5.1/AV:N/AC:H/Au:N/C:P/I:P/A:P,rhel-6/icedtea-web=affected,fedora-all/icedtea-web=affected
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 17:57:23 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 841861, 841862, 844770    
Bug Blocks: 841346    

Description Tomas Hoger 2012-07-18 14:24:08 EDT
It was discovered that the IcedTea-Web web browser plugin incorrectly assumed that all strings provided by browser are NUL terminated, which is not guaranteed by the NPAPI (Netscape Plugin Application Programming Interface).  When used in a browser that does not NUL terminate NPVariant NPStrings, this could lead to buffer over-read or over-write, resulting in possible information leak, crash, or code execution.

Mozilla browsers currently NUL terminate strings, however recent Chrome versions are known not to provide NUL terminated data.

Related upstream bug reports and commits:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=518
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=863
http://icedtea.classpath.org/hg/release/icedtea-web-1.2/rev/d7375e2a9076
http://icedtea.classpath.org/hg/release/icedtea-web-1.2/rev/d65bd94e0ba9
Comment 2 Tomas Hoger 2012-07-31 14:01:15 EDT
Lifting embargo.
Comment 3 Tomas Hoger 2012-07-31 14:02:35 EDT
Created icedtea-web tracking bugs for this issue

Affects: fedora-all [bug 844770]
Comment 4 Tomas Hoger 2012-07-31 14:40:31 EDT
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 5 errata-xmlrpc 2012-07-31 14:56:12 EDT
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 6 Fedora Update System 2012-09-21 19:53:07 EDT
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 7 Fedora Update System 2012-09-25 02:19:05 EDT
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.