[OSSA 2016-006] Normal user can change image status if show_multiple_locations has been set to true (CVE-2016-0757)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Erno Kuvaja | ||
Kilo |
Fix Released
|
Undecided
|
Erno Kuvaja | ||
Liberty |
Fix Committed
|
Undecided
|
Erno Kuvaja | ||
OpenStack Security Advisory |
Fix Released
|
Undecided
|
Tristan Cacqueray |
Bug Description
User (non admin) can set image back to queued state by deleting location(s) from image when "show_multiple_
This breaks the immutability promise glance has similar way as described in OSSA 2015-019 as the image gets transitioned from active to queued and new image data can be uploaded.
ubuntu@
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2015-12-
| disk_format | ami |
| id | f4bb4c9e-
| locations | [{"url": "file:/
| | 640dbe37b3bc", "metadata": {}}] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-test |
| owner | ab69274aa31a4fb
| protected | False |
| size | 25165824 |
| status | active |
| tags | [] |
| updated_at | 2015-12-
| virtual_size | None |
| visibility | private |
+------
ubuntu@
ubuntu@
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2015-12-
| disk_format | ami |
| id | f4bb4c9e-
| locations | [] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-test |
| owner | ab69274aa31a4fb
| protected | False |
| size | None |
| status | queued |
| tags | [] |
| updated_at | 2015-12-
| virtual_size | None |
| visibility | private |
+------
ubuntu@
ubuntu@
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2015-12-
| disk_format | ami |
| id | f4bb4c9e-
| locations | [{"url": "file:/
| | 640dbe37b3bc", "metadata": {}}] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-test |
| owner | ab69274aa31a4fb
| protected | False |
| size | 25165824 |
| status | active |
| tags | [] |
| updated_at | 2015-12-
| virtual_size | None |
| visibility | private |
+------
ubuntu@
This works also on public images.
ubuntu@
ubuntu@
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2015-12-
| disk_format | ami |
| id | f4bb4c9e-
| locations | [{"url": "file:/
| | 640dbe37b3bc", "metadata": {}}] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-test |
| owner | ab69274aa31a4fb
| protected | False |
| size | 25165824 |
| status | active |
| tags | [] |
| updated_at | 2015-12-
| virtual_size | None |
| visibility | public |
+------
ubuntu@
ubuntu@
ubuntu@
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2015-12-
| disk_format | ami |
| id | f4bb4c9e-
| locations | [] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-test |
| owner | ab69274aa31a4fb
| protected | False |
| size | None |
| status | queued |
| tags | [] |
| updated_at | 2015-12-
| virtual_size | None |
| visibility | public |
+------
ubuntu@
ubuntu@
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2015-12-
| disk_format | ami |
| id | f4bb4c9e-
| locations | [{"url": "file:/
| | 640dbe37b3bc", "metadata": {}}] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-test |
| owner | ab69274aa31a4fb
| protected | False |
| size | 25165824 |
| status | active |
| tags | [] |
| updated_at | 2015-12-
| virtual_size | None |
| visibility | public |
+------
ubuntu@
CVE References
Changed in ossa: | |
status: | Incomplete → Triaged |
assignee: | nobody → Tristan Cacqueray (tristan-cacqueray) |
summary: |
Normal user can change image status if show_multiple_locations has been - set to true + set to true (CVE-2016-0757) |
Changed in ossa: | |
status: | Triaged → Fix Committed |
information type: | Private Security → Public |
summary: |
- Normal user can change image status if show_multiple_locations has been - set to true (CVE-2016-0757) + [OSSA 2016-006] Normal user can change image status if + show_multiple_locations has been set to true (CVE-2016-0757) |
description: | updated |
Changed in ossa: | |
status: | Fix Committed → Fix Released |
Since this report concerns a possible security risk, an incomplete security advisory task has been added while the core security reviewers for the affected project or projects confirm the bug and discuss the scope of any vulnerability along with potential solutions.