GLSA-200601-01 : pinentry: Local privilege escalation

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200601-01
(pinentry: Local privilege escalation)

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200601-01.xml

Solution :

All pinentry users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-crypt/pinentry-0.7.2-r2'

Risk factor :

Medium / CVSS Base Score : 6.6
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20411 (gentoo_GLSA-200601-01.nasl)

Bugtraq ID:

CVE ID: CVE-2006-0071