Bug 226967

Summary: CVE-2007-0238 StarCalc overflow
Product: Red Hat Enterprise Linux 5 Reporter: Mark J. Cox <mjc>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,source=openoffice,reported=20070202,public=20070320
Fixed In Version: RHSA-2007-0069 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-22 13:40:40 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:
Attachments:
Description Flags
better example document none

Description Mark J. Cox 2007-02-02 11:28:21 UTC
+++ This bug was initially created as a clone of Bug #226966 +++

John Heasman discovered the StarCalc parser in OpenOffice 2.1 and earlier
contains an easily exploitable stack overflow (at least on the win32 version)
due to incorrect handling of the "Note" record.

If a user opens an untrusted StarCalc document it can potentially run arbitrary
attacker code supplied in the file.  This is therefore a serious issue.

No embargo date set

-- Additional comment from mjc on 2007-02-02 06:25 EST --
Created an attachment (id=147211)
Patch for 1.5


-- Additional comment from mjc on 2007-02-02 06:26 EST --
Created an attachment (id=147212)
Patch for 2

Comment 1 Caolan McNamara 2007-02-02 12:24:33 UTC
need an ack to progress through cvs

Comment 2 Caolan McNamara 2007-02-06 08:40:00 UTC
RHEL-5:openoffice_org-2.0.4-5.4.16.1

Comment 3 Caolan McNamara 2007-02-08 09:54:44 UTC
Created attachment 147640 [details]
deom .sdc

fortify source already protects us from the demo document

*** stack smashing detected ***: scalc.bin terminated

Comment 4 Caolan McNamara 2007-02-08 11:40:42 UTC
Created attachment 147642 [details]
better example document

But same ***stack smashing detected***

Comment 10 Mark J. Cox 2007-03-22 08:04:06 UTC
well the embargo looks busted by http://lwn.net/Articles/227144/
removing our embargo



Comment 11 Red Hat Bugzilla 2007-03-22 13:40:40 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0069.html