portage-ng / portage / app-text / o3read / 0.0.4
portage-ng glsa
1 advisory reference app-text/o3read · none place version 0.0.4 in a vulnerable range
▸ GLSA 200501-20 o3read: Buffer overflow during file conversion this version unaffected normal remote 2005-01-11

A buffer overflow in o3read allows an attacker to execute arbitrary code by way of a specially crafted XML file.

Announced
2005-01-11
Revised
2005-01-11
Access
remote
Bugs
#74478
Advisory
https://security.gentoo.org/glsa/200501-20

Affected packages

PackageArchVulnerableUnaffected
app-text/o3read*<= 0.0.3>= 0.0.4

Background

o3read is a standalone converter for OpenOffice.org files. It allows a user to dump the contents tree (o3read) and convert to plain text (o3totxt) or to HTML (o3tohtml) Writer and Calc files.

Description

Wiktor Kopec discovered that the parse_html function in o3read.c copies any number of bytes into a 1024-byte t[] array.

Impact

Using a specially crafted file, possibly delivered by e-mail or over the Web, an attacker may execute arbitrary code with the permissions of the user running o3read.

Workaround

There is no known workaround at this time.

Resolution

All o3read users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/o3read-0.0.4"

References