Description
The make include files in NetBSD before 1.6.2, as used in pmake 1.111 and other products, allow local users to overwrite arbitrary files via a symlink attack on a /tmp/_depend##### temporary file, related to (1) bsd.lib.mk and (2) bsd.prog.mk.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626673
- 47878 vdb-entry
- [oss-security] 20110516 CVE Request -- pmake -- Use of insecure temporary file for 'depend' target mailing-list
- [oss-security] 20110516 Re: CVE Request -- pmake -- Use of insecure temporary file for 'depend' target mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=705100
- https://bugzilla.redhat.com/show_bug.cgi?id=705090
- http://cvsweb.netbsd.org/bsdweb.cgi/src/share/mk/bsd.lib.mk.diff?r1=1.239&r2=1.240&f=h
- http://cvsweb.netbsd.org/bsdweb.cgi/src/share/mk/bsd.prog.mk.diff?r1=1.192&r2=1.193&f=h
- pmake-depend-symlink(67495) vdb-entry