public inbox for gentoo-announce@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Legler <a3li@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
	security-alerts@linuxsecurity.com
Subject: [gentoo-announce] [ GLSA 200909-12 ] HTMLDOC: User-assisted execution of arbitrary code
Date: Sat, 12 Sep 2009 18:28:36 +0200	[thread overview]
Message-ID: <20090912182836.7c526195@neon> (raw)

[-- Attachment #1: Type: text/plain, Size: 2993 bytes --]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200909-12
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: HTMLDOC: User-assisted execution of arbitrary code
      Date: September 12, 2009
      Bugs: #278186
        ID: 200909-12

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple insecure calls to the sscanf() function in HTMLDOC might
result in the execution of arbitrary code.

Background
==========

HTMLDOC is a HTML indexer and HTML to PS and PDF converter.

Affected packages
=================

    -------------------------------------------------------------------
     Package           /   Vulnerable   /                   Unaffected
    -------------------------------------------------------------------
  1  app-text/htmldoc      < 1.8.27-r1                    >= 1.8.27-r1

Description
===========

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
htmldoc/htmllib.cxx.

Impact
======

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All HTMLDOC users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose =app-text/htmldoc-1.8.27-r1

References
==========

  [ 1 ] CVE-2009-3050
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3050

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200909-12.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

                 reply	other threads:[~2009-09-12 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090912182836.7c526195@neon \
    --to=a3li@gentoo.org \
    --cc=bugtraq@securityfocus.com \
    --cc=full-disclosure@lists.grok.org.uk \
    --cc=gentoo-announce@lists.gentoo.org \
    --cc=security-alerts@linuxsecurity.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox