Executive Summary

Summary
Title pmake: Insecure temporary file usage
Informations
Name GLSA-201310-17 First vendor Publication 2013-10-28
Vendor Gentoo Last vendor Modification 2013-10-28
Severity (Vendor) Low Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:M/Au:N/C:N/I:P/A:P)
Cvss Base Score 3.3 Attack Range Local
Cvss Impact Score 4.9 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

pmake uses temporary files in an insecure manner, allowing for symlink attacks.

Background

pmake is Debian's version of NetBSD's make, a tool to build programs in parallel.

Description

/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.

Resolution

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

References

[ 1 ] CVE-2011-1920 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1920

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

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

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-59 Improper Link Resolution Before File Access ('Link Following')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1
Os 40

Open Source Vulnerability Database (OSVDB)

Id Description
73859 pmake Make Include Files /tmp/_depend* Temporary File Symlink Arbitrary File ...

Nessus® Vulnerability Scanner

Date Description
2013-11-22 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2013-271.nasl - Type : ACT_GATHER_INFO
2013-10-29 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201310-17.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2014-02-17 11:37:50
  • Multiple Updates
2013-10-28 13:18:59
  • First insertion