<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200601-01 ] pinentry: Local privilege escalation



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200601-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: pinentry: Local privilege escalation
      Date: January 03, 2006
      Bugs: #116822
        ID: 200601-01

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

Synopsis
========

pinentry is vulnerable to privilege escalation.

Background
==========

pinentry is a collection of simple PIN or passphrase entry dialogs
which utilize the Assuan protocol.

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

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-crypt/pinentry     < 0.7.2-r2                     >= 0.7.2-r2

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

Tavis Ormandy of the Gentoo Linux Security Audit Team has discovered
that the pinentry ebuild incorrectly sets the permissions of the
pinentry binaries upon installation, so that the sgid bit is set making
them execute with the privileges of group ID 0.

Impact
======

A user of pinentry could potentially read and overwrite files with a
group ID of 0.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All pinentry users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-crypt/pinentry-0.7.2-r2"

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

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

  http://security.gentoo.org/glsa/glsa-200601-01.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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 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.0

Attachment: signature.asc
Description: OpenPGP digital signature