GLSA-201310-17 : pmake: Insecure temporary file usage

low Nessus Plugin ID 70673

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-201310-17 (pmake: Insecure temporary file usage)

/usr/share/mk/bsd.lib.mk and /usr/share/mk/bsd.prog.mk create temporary files insecurely, with predictable names (/tmp/_depend[PID]), and without using $TMPDIR.
Impact :

The make include files allow local users to overwrite arbitrary files via a symlink attack.
Workaround :

There is no known workaround at this time.

Solution

All pmake users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-devel/pmake-1.111.3.1'

See Also

https://security.gentoo.org/glsa/201310-17

Plugin Details

Severity: Low

ID: 70673

File Name: gentoo_GLSA-201310-17.nasl

Version: 1.7

Type: local

Published: 10/29/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 3.3

Temporal Score: 2.4

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/28/2013

Reference Information

CVE: CVE-2011-1920

BID: 47878

GLSA: 201310-17