OpenOffice.org: Two buffer overflows — GLSA 200707-02

Multiple vulnerabilities have been discovered in OpenOffice.org, allowing for the remote execution of arbitrary code.

Affected packages

app-office/openoffice on all architectures
Affected versions < 2.2.1
Unaffected versions >= 2.2.1
app-office/openoffice-bin on all architectures
Affected versions < 2.2.1
Unaffected versions >= 2.2.1

Background

OpenOffice.org is an open source office productivity suite, including word processing, spreadsheet, presentation, drawing, data charting, formula editing, and file conversion facilities.

Description

John Heasman of NGSSoftware has discovered a heap-based buffer overflow when parsing the "prdata" tag in RTF files where the first token is smaller than the second one (CVE-2007-0245). Additionally, the OpenOffice binary program is shipped with a version of FreeType that contains an integer signedness error in the n_points variable in file truetype/ttgload.c, which was covered by GLSA 200705-22 (CVE-2007-2754).

Impact

A remote attacker could entice a user to open a specially crafted document, possibly leading to execution of arbitrary code with the rights of the user running OpenOffice.org.

Workaround

There is no known workaround at this time.

Resolution

All OpenOffice.org users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-office/openoffice-2.2.1"

All OpenOffice.org binary users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-office/openoffice-bin-2.2.1"

References

Release date
July 02, 2007

Latest revision
July 02, 2007: 01

Severity
normal

Exploitable
remote

Bugzilla entries