portage-ng / portage / app-text / wv / 1.2.9-r5
portage-ng glsa
2 advisories reference app-text/wv · none place version 1.2.9-r5 in a vulnerable range
▸ GLSA 200612-01 wv library: Multiple integer overflows this version unaffected normal remote 2006-12-07

The wv library is vulnerable to multiple integer overflows which could lead to the execution of arbitrary code.

Announced
2006-12-07
Revised
2006-12-07
Access
remote
Bugs
#153800
Advisory
https://security.gentoo.org/glsa/200612-01

Affected packages

PackageArchVulnerableUnaffected
app-text/wv*< 1.2.3-r1>= 1.2.3-r1

Background

wv is a library for conversion of MS Word DOC and RTF files.

Description

The wv library fails to do proper arithmetic checks in multiple places, possibly leading to integer overflows.

Impact

An attacker could craft a malicious file that, when handled with the wv library, could lead to the execution of arbitrary code with the permissions of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All wv library users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/wv-1.2.3-r1"

References

▸ GLSA 200407-11 wv: Buffer overflow vulnerability this version unaffected normal remote 2004-07-14

A buffer overflow vulnerability exists in the wv library that can allow an attacker to execute arbitrary code with the privileges of the user running the vulnerable application.

Announced
2004-07-14
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#56595
Advisory
https://security.gentoo.org/glsa/200407-11

Affected packages

PackageArchVulnerableUnaffected
app-text/wv*< 1.0.0-r1>= 1.0.0-r1

Background

The wv library allows access to MS Word files. It can parse Word files and allow other applications, such as abiword, to import those files into their native formats.

Description

A use of strcat without proper bounds checking leads to an exploitable buffer overflow. The vulnerable code is executed when wv encounters an unrecognized token, so a specially crafted file, loaded in wv, can trigger the vulnerable code and execute it's own arbitrary code. This exploit is only possible when the user loads the document into HTML view mode.

Impact

By inducing a user into running wv on a special file, an attacker can execute arbitrary code with the permissions of the user running the vulnerable program.

Workaround

Users should not view untrusted documents with wvHtml or applications using wv. When loading an untrusted document in an application using the wv library, make sure HTML view is disabled.

Resolution

All users should upgrade to the latest available version.

# emerge sync

# emerge -pv ">=app-text/wv-1.0.0-r1"
# emerge ">=app-text/wv-1.0.0-r1"

References