GLSA 200601-01: pinentry: Local privilege escalation

Severity:normal
Title:pinentry: Local privilege escalation
Date:01/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 Architecture(s)
app-crypt/pinentry < 0.7.2-r2 >= 0.7.2-r2 All supported architectures

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"

References

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@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!