mkinitrd: possibly insecure temp directory creation

Bug #12182 reported by Danilo Piazzalunga
8
Affects Status Importance Assigned to Milestone
initrd-tools (Ubuntu)
Fix Released
Medium
Jeff Bailey

Bug Description

mkinitrd creates a temporary directory (its workdir) in a possibly insecure way.
Making it use mktemp is a trivial one-line change.

Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Created an attachment (id=1113)
Use mktemp instead of $$ to create the working directory

Revision history for this message
Jeff Bailey (jbailey) wrote :

Resolved in 0.1.77ubuntu1, closing this bug.

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 13153 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.