libvirt live snapshotting happens in world-writable directory

Bug #1255086 reported by Ivan Melnikov
258
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Undecided
Unassigned

Bug Description

When nova-compute makes live snapshot of virtual machine the temporary directory used to store snapshot data before it gets uploaded to glance is made world-writable:

https://github.com/openstack/nova/blob/eced10cf41fbf87e9c171aa17ee75e82f331456a/nova/virt/libvirt/driver.py#L1489

This potentially allows user who has write access to filesystem to hijack snapshot contents or do other nasty things.

Grant Murphy (gmurphy)
Changed in nova:
status: New → Confirmed
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like a duplicate of bug 1227027, please confirm

Changed in ossa:
status: New → Incomplete
Revision history for this message
Ivan Melnikov (imelnikov) wrote :

> Looks like a duplicate of bug 1227027, please confirm

Yes, it is. Sorry, looks like my googling skills were weak yesterday.

Jeremy Stanley (fungi)
information type: Private Security → Public Security
no longer affects: ossa
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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