CVE-2012-5482 OpenStack Glance arbitrary deletion of non-protected images

Medium 5.5 Published Updated

Authenticated users can delete arbitrary non-protected images in OpenStack Glance due to missing authorization checks.

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-5482?

CVE-2012-5482 is a medium-severity missing authorization vulnerability in n/a, published on 11 Nov 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The v2 API in OpenStack Glance Grizzly, Folsom (2012.2), and Essex (2012.1) allows remote authenticated users to delete arbitrary non-protected images via an image deletion request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-4573.

Weakness: CWE-264

Which versions are affected by CVE-2012-5482?

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

PackageAffectedFixed in
glance PyPIAll versions11.0.0a0
glance PyPIAll versions11.0.0a0

Products include Openstack Essex, Openstack Folsom, Openstack Image Registry and Delivery Service \(Glance\).

How do I fix CVE-2012-5482?

Upgrade glance to 11.0.0a0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2012-5482 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-5482, GHSA-vwr9-9f8v-vp5m.

Is CVE-2012-5482 in your software?

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

Check your SBOMs for free