blob: c0cf495b95ce93ed2914f4446a4aa9de60710cef [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200909-12">
<title>HTMLDOC: User-assisted execution of arbitrary code</title>
Multiple insecure calls to the sscanf() function in HTMLDOC might result in
the execution of arbitrary code.
<product type="ebuild">htmldoc</product>
<announced>September 12, 2009</announced>
<revised>September 12, 2009: 01</revised>
<package name="app-text/htmldoc" auto="yes" arch="*">
<unaffected range="ge">1.8.27-r1</unaffected>
<vulnerable range="lt">1.8.27-r1</vulnerable>
HTMLDOC is a HTML indexer and HTML to PS and PDF converter.
ANTHRAX666 reported an insecure call to the sscanf() function in the
set_page_size() function in htmldoc/util.cxx. Nico Golde of the Debian
Security Team found two more insecure calls in the write_type1()
function in htmldoc/ps-pdf.cxx and the htmlLoadFontWidths() function in
<impact type="normal">
A remote attacker could entice a user to process a specially crafted
HTML file using htmldoc, possibly resulting in the execution of
arbitrary code with the privileges of the user running the application.
NOTE: Additional vectors via specially crafted AFM font metric files do
not cross trust boundaries, as the files can only be modified by
privileged users.
There is no known workaround at this time.
All HTMLDOC users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/htmldoc-1.8.27-r1&quot;</code>
<uri link="">CVE-2009-3050</uri>
<metadata tag="requester" timestamp="Wed, 26 Aug 2009 18:35:26 +0000">
<metadata tag="submitter" timestamp="Wed, 26 Aug 2009 18:45:17 +0000">
<metadata tag="bugReady" timestamp="Sun, 06 Sep 2009 09:53:24 +0000">