|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33150 shtool: insecure temporary file creation
Submitted: 2005-05-26 13:43 UTC Modified: 2005-06-18 20:57 UTC
From: eromang at zataz dot net Assigned: sniper
Status: Closed Package: Compile Failure
PHP Version: 5.*, 4.* OS: UNIX
Private report: No CVE-ID:
 [2005-05-26 13:43 UTC] eromang at zataz dot net

php is using a vulnerable version of shtool.

For more informations :



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-29 22:25 UTC] eromang at zataz dot net

Here under the patch proposal from Gentoo Security Team.


 [2005-05-30 01:02 UTC]
We'll update the bundled shtool as soon as they release new version of it. We will not start patching it ourselves.

 [2005-06-10 17:18 UTC] koon at gentoo dot org
Apparently PHP only uses the mkdir and echo commands, neither makes a tmpfile. SO you probably aren't affected by this currently.
 [2005-06-18 20:57 UTC]
We use the 'path' command also, and that one is affected.

 [2005-06-18 20:57 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Sat Nov 28 18:01:31 2015 UTC