GLSA-200511-19 : eix: Insecure temporary file creation

medium Nessus Plugin ID 20263

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-200511-19 (eix: Insecure temporary file creation)

Eric Romang discovered that eix creates a temporary file with a predictable name. eix creates a temporary file in /tmp/eix.*.sync where
* is the process ID of the shell running eix.
Impact :

A local attacker can watch the process list and determine the process ID of the shell running eix while the 'emerge --sync' command is running, then create a link from the corresponding temporary file to a system file, which would result in the file being overwritten with the rights of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All eix users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose app-portage/eix

See Also

https://security.gentoo.org/glsa/200511-19

Plugin Details

Severity: Medium

ID: 20263

File Name: gentoo_GLSA-200511-19.nasl

Version: 1.14

Type: local

Published: 12/7/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:eix, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 11/22/2005

Vulnerability Publication Date: 11/22/2005

Reference Information

CVE: CVE-2005-3785

GLSA: 200511-19