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.
| Package | Affected versions | Patched versions |
|---|---|---|
novaPyPI | < 12.0.0a0 | 12.0.0a0 |
Affected products
1Patches
375be5abd6b3fEnforce permissions in snapshots temporary dir
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:
8a34fc3d48c4Enforce permissions in snapshots temporary dir
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:
9bd7fff8c016Enforce permissions in snapshots temporary dir
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- bugs.launchpad.net/nova/+bug/1227027nvdExploitPatchThird Party AdvisoryWEB
- rhn.redhat.com/errata/RHSA-2014-0231.htmlnvdThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2014/01/13/2nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-grp5-h379-j75xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2013-7048ghsaADVISORY
- github.com/openstack/nova/commit/75be5abd6b3fa0f7f27fe9c805f832cd41d44a5dghsaWEB
- github.com/openstack/nova/commit/8a34fc3d48c467aa196f65eed444ccdc7c02f19fghsaWEB
- github.com/openstack/nova/commit/9bd7fff8c0160057643cfc37c5e2b1cd3337d6aaghsaWEB
News mentions
0No linked articles in our index yet.