Bug 705090 - pmake: Use of insecure temporary file for 'depend' target
pmake: Use of insecure temporary file for 'depend' target
Status: CLOSED DUPLICATE of bug 705100
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
public=20110514,reported=20110514,sou...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 11:31 EDT by Jan Lieskovsky
Modified: 2014-11-20 15:00 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-16 12:00:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2011-05-16 11:31:58 EDT
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 11:35:36 EDT
This issue affects the version of the pmake package, as shipped
with Red Hat Enterprise Linux 4.
Comment 2 Vincent Danen 2011-05-16 12:00:51 EDT

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

Note You need to log in before you can comment on or make changes to this bug.