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

This script is Copyright (C) 2013-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-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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201310-17.xml

Solution :

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

Risk factor :

Low / CVSS Base Score : 3.3
(CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:P)
CVSS Temporal Score : 2.9
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 70673 ()

Bugtraq ID: 47878

CVE ID: CVE-2011-1920