Portage: Information disclosure

Security Team  Contact Address

Updated December 13, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200712-11 / portage
Release Date December 13, 2007
Latest Revision December 13, 2007: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
sys-apps/portage < 2.1.3.11 >= 2.1.3.11 All supported architectures

Related bugreports: #193589

Synopsis

Portage may disclose sensitive information when updating configuration files.

2.  Impact Information

Background

Portage is the default Gentoo package management system.

Description

Mike Frysinger reported that the "etc-update" utility uses temporary files with the standard umask, which results in the files being world-readable when merging configuration files in a default setup.

Impact

A local attacker could access sensitive information when configuration files are being merged.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Portage users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/portage-2.1.3.11"

4.  References