CVE-2012-3360 OpenStack Nova Directory traversal vulnerability

Medium 5.5 Published Updated

Remote authenticated users can write arbitrary files to disk images via path traversal in OpenStack Compute.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-3360?

CVE-2012-3360 is a medium-severity path traversal vulnerability in n/a, published on 22 Jul 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directory traversal vulnerability in virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2) and Essex (2012.1), when used over libvirt-based hypervisors, allows remote authenticated users to write arbitrary files to the disk image via a .. (dot dot) in the path attribute of a file element.

Weakness: CWE-22

Which versions are affected by CVE-2012-3360?

2 open source packages ship an affected version, including nova. It affects 2 products.

PackageAffectedFixed in
nova PyPIAll versions12.0.0a0
nova PyPIAll versions12.0.0a0

Products include Openstack Essex, Openstack Folsom.

How do I fix CVE-2012-3360?

Upgrade nova to 12.0.0a0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2012-3360 being exploited?

There is no known exploitation of CVE-2012-3360 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-3360, GHSA-m454-cm7h-rqhh.

Is CVE-2012-3360 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free