VYPR
Low severityNVD Advisory· Published Jan 23, 2014· Updated Apr 29, 2026

CVE-2013-7048

CVE-2013-7048

Description

OpenStack Compute (Nova) Grizzly 2013.1.4, Havana 2013.2.1, and earlier uses world-writable and world-readable permissions for the temporary directory used to store live snapshots, which allows local users to read and modify live snapshots.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
novaPyPI
< 12.0.0a012.0.0a0

Affected products

1
  • cpe:2.3:a:openstack:nova:*:*:*:*:*:*:*:*
    Range: >=2013.1,<=2013.1.4

Patches

3
75be5abd6b3f

Enforce permissions in snapshots temporary dir

https://github.com/openstack/novaXavier QueraltNov 27, 2013via ghsa
1 file changed · +2 3
  • nova/virt/libvirt/driver.py+2 3 modified
    @@ -1390,9 +1390,8 @@ def snapshot(self, context, instance, image_href, update_task_state):
                 try:
                     out_path = os.path.join(tmpdir, snapshot_name)
                     if live_snapshot:
    -                    # NOTE (rmk): libvirt needs to be able to write to the
    -                    #             temp directory, which is owned nova.
    -                    utils.execute('chmod', '777', tmpdir, run_as_root=True)
    +                    # NOTE(xqueralt): libvirt needs o+x in the temp directory
    +                    os.chmod(tmpdir, 0o701)
                         self._live_snapshot(virt_dom, disk_path, out_path,
                                             image_format)
                     else:
    
8a34fc3d48c4

Enforce permissions in snapshots temporary dir

https://github.com/openstack/novaXavier QueraltNov 27, 2013via ghsa
1 file changed · +2 3
  • nova/virt/libvirt/driver.py+2 3 modified
    @@ -1488,9 +1488,8 @@ def snapshot(self, context, instance, image_href, update_task_state):
                 try:
                     out_path = os.path.join(tmpdir, snapshot_name)
                     if live_snapshot:
    -                    # NOTE (rmk): libvirt needs to be able to write to the
    -                    #             temp directory, which is owned nova.
    -                    utils.execute('chmod', '777', tmpdir, run_as_root=True)
    +                    # NOTE(xqueralt): libvirt needs o+x in the temp directory
    +                    os.chmod(tmpdir, 0o701)
                         self._live_snapshot(virt_dom, disk_path, out_path,
                                             image_format)
                     else:
    
9bd7fff8c016

Enforce permissions in snapshots temporary dir

https://github.com/openstack/novaXavier QueraltNov 27, 2013via ghsa
1 file changed · +2 3
  • nova/virt/libvirt/driver.py+2 3 modified
    @@ -1191,9 +1191,8 @@ def snapshot(self, context, instance, image_href, update_task_state):
                 try:
                     out_path = os.path.join(tmpdir, snapshot_name)
                     if live_snapshot:
    -                    # NOTE (rmk): libvirt needs to be able to write to the
    -                    #             temp directory, which is owned nova.
    -                    utils.execute('chmod', '777', tmpdir, run_as_root=True)
    +                    # NOTE(xqueralt): libvirt needs o+x in the temp directory
    +                    os.chmod(tmpdir, 0o701)
                         self._live_snapshot(virt_dom, disk_path, out_path,
                                             image_format)
                     else:
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

8

News mentions

0

No linked articles in our index yet.