Description
virt/disk/api.py in OpenStack Compute (Nova) 2012.1.x before 2012.1.2 and Folsom before Folsom-3 allows remote authenticated users to overwrite arbitrary files via a symlink attack on a file in an image that uses a symlink that is only readable by root. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-3361.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nova | 2012.1.1-6 | — |
| Debian 13 | nova | 2012.1.1-6 | — |
| Debian 12 | nova | 2012.1.1-6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | nova | < 12.0.0 | 12.0.0 | GHSA-xc4g-7vw8-924h |
| PyPI | nova | all versions | — | PYSEC-2012-21 |
References
- https://github.com/openstack/nova/commit/ce4b2e27be45a85b310237615c47eb53f37bb5f3
- [oss-security] 20120807 [OSSA 2012-011] Compute node filesystem injection/corruption (CVE-2012-3447) mailing-list
- 54869 vdb-entry
- openstack-nova-code-execution(77539) vdb-entry
- https://review.openstack.org/#/c/10953/
- https://bugs.launchpad.net/nova/+bug/1031311
- https://github.com/openstack/nova/commit/d9577ce9f266166a297488445b5b0c93c1ddb368
- https://bugzilla.redhat.com/show_bug.cgi?id=845106