blob: a9f9b5858ce2f1747b65b8152b77549fccee797b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200407-11">
<title>wv: Buffer overflow vulnerability</title>
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.
<product type="ebuild">app-text/wv</product>
<announced>July 14, 2004</announced>
<revised>May 22, 2006: 02</revised>
<package name="app-text/wv" auto="yes" arch="*">
<unaffected range="ge">1.0.0-r1</unaffected>
<vulnerable range="lt">1.0.0-r1</vulnerable>
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.
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 type="normal">
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.
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.
All users should upgrade to the latest available version.
# emerge sync
# emerge -pv &quot;&gt;=app-text/wv-1.0.0-r1&quot;
# emerge &quot;&gt;=app-text/wv-1.0.0-r1&quot;</code>
<uri link=";type=vulnerabilities&amp;flashstatus=true">iDEFENSE Security Advisory</uri>
<uri link="">CVE-2004-0645</uri>
<metadata tag="submitter">