Gentoo: Qt Multiple format string vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo Format string vulnerabilities in Qt 3 may lead to the remote execution of arbitrary code in some Qt applications. An attacker could trigger one of the vulnerabilities by causing a Qt application to parse specially crafted text, which may lead to the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200708-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Qt: Multiple format string vulnerabilities
      Date: August 22, 2007
      Bugs: #185446
        ID: 200708-16

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

Synopsis
========

Format string vulnerabilities in Qt 3 may lead to the remote execution
of arbitrary code in some Qt applications.

Background
==========

Qt is a cross-platform GUI framework, which is used e.g. by KDE.

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

    -------------------------------------------------------------------
     Package      /  Vulnerable  /                          Unaffected
    -------------------------------------------------------------------
  1  x11-libs/qt     < 3.3.8-r3                            >= 3.3.8-r3

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

Tim Brown of Portcullis Computer Security Ltd and Dirk Mueller of KDE
reported multiple format string errors in qWarning() calls in files
qtextedit.cpp, qdatatable.cpp, qsqldatabase.cpp, qsqlindex.cpp,
qsqlrecord.cpp, qglobal.cpp, and qsvgdevice.cpp.

Impact
======

An attacker could trigger one of the vulnerabilities by causing a Qt
application to parse specially crafted text, which may lead to the
execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Qt 3 users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose "=x11-libs/qt-3*"

References
==========

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

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

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

  http://security.gentoo.org/glsa/glsa-200708-16.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
http://bugs.gentoo.org.

License
=======

Copyright 2007 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