oss-sec mailing list archives

Re: CVE id request: mktemp


From: "Steven M. Christey" <coley () linus mitre org>
Date: Mon, 18 Aug 2008 15:42:20 -0400 (EDT)


On Mon, 18 Aug 2008, Nico Golde wrote:

This is known but as I wrote in the bug report:
"the file is safely created with O_EXCL and 0600, still
unsafe if used with -u"

Given that -u is "unsafe mode" with a disclaimer against race conditions
(at least based on the manpage I looked at), I'm of the mindset that you'd
flag an application for using mktemp -u, but not mktemp itself.

- Steve


Current thread: