Bug 705090

Summary: pmake: Use of insecure temporary file for 'depend' target
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jakub, jrusnack, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-16 16:00:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Lieskovsky 2011-05-16 15:31:58 UTC
It was found that pmake (BSD 4.4 version of make) used insecure temporary
file for 'depend' target when building libraries (/usr/share/mk/bsd.lib.mk)
and executables (/usr/share/mk/bsd.prog.mk). A local attacker could use
this flaw to conduct symlink attacks possibly leading to their ability
to replace content of arbitrary files, belonging to user running the pmake
tool or ability to modify the integrity of .depend file in the home directory
of the victim.

References:
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626673

Comment 1 Jan Lieskovsky 2011-05-16 15:35:36 UTC
This issue affects the version of the pmake package, as shipped
with Red Hat Enterprise Linux 4.

Comment 2 Vincent Danen 2011-05-16 16:00:51 UTC

*** This bug has been marked as a duplicate of bug 705100 ***