[Openstack] [OSSG][OSSN] Glance allows sharing of images between projects without consumer project approval
Nathan Kinder
nkinder at redhat.com
Thu Dec 12 03:43:46 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Glance allows sharing of images between projects without consumer
project approval
- ---
### Summary ###
Glance allows images to be shared between projects. In certain API
versions, images can be shared without the consumer project's
approval. This allows potentially malicious images to show up in a
project's image list.
### Affected Services / Software ###
Glance, Image Service, Diablo, Essex, Folsom, Grizzly, Havana
### Discussion ###
Since the OpenStack Diablo release, Glance allows images to be shared
between projects. To share an image, the producer of the image adds
the consumer project as a member of the image. When using the Image
Service API v1, the image producer is able to share an image with a
consumer project without their approval. This results in the shared
image showing up in the image list for the consumer project. This can
mislead users with roles in the consumer project into running a
potentially malicious image.
The Image Service API v2.0 does not allow image sharing between
projects, so a project is not susceptible to running unauthorized
images shared by other projects. The Image Service API v2.1 allows
image sharing using a two-step process. An image producer must add a
consumer as a member of the image, and the consumer must accept the
shared image before it shows up in their image list. This additional
approval process allows a consumer to control what images show up in
their image list, thus preventing potentially malicious images being
used without the consumers knowledge.
### Recommended Actions ###
In the OpenStack Diablo, Essex, and Folsom releases, Glance supports
image sharing using the Image Service API v1. There is no way to
require approval of a shared image by consumer projects. Users should
be cautioned to be careful when using images from their image list, as
they may be using an image that was shared with them without their
knowledge.
In the OpenStack Grizzly and Havana releases, Glance supports the
Image Service API v2.1 or later. Support is still provided for Image
Service API v1, which allows image sharing between projects without
consumer project approval. It is recommended to disable v1 of the
Image Service API if possible. This can be done by setting the
following directive in the glance-api.conf configuration file:
- ---- begin example glance-api.conf snippet ----
enable_v1_api = False
- ---- end example glance-api.conf snippet ----
### Contacts / References ###
This OSSN : https://bugs.launchpad.net/ossn/+bug/1226078
Original LaunchPad Bug : https://bugs.launchpad.net/glance/+bug/1226078
OpenStack Security ML : openstack-security at lists.openstack.org
OpenStack Security Group : https://launchpad.net/~openstack-ossg
CVE: CVE-2013-4354
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSqTDyAAoJEJa+6E7Ri+EVLTAH/iotaaVYY1szCEAGxk76A5D5
zBybnuoNidifddKEj4Q9Y/JoA5owDuSAguNxiUjbHfXuOBdeftyrzf0vTIJgS3yu
X8yYwl7k6w6EkMDwQLtMa7ZrBQoowPsHI1VzN9P8oi2XuBuwaAhUDZDXz2joT3Aw
ZqXErtLn8o240+JyKn9p1WHbvP9NJFKL5qqWhCYybFXPopaPs4fi0BLYCF3TAUW/
VKXj7GdNh4ELSYUHemsosBXZb0sTR2eY4ZVP6GDt9c30wTHKufW/KB7hHxBb8iDJ
ArvYvGqo81JxjvkxIcCSOz1Q2bjD4/Z9/LL7puV7QdCuNKuFyUIIe6VDbBA6ZjE=
=p93r
-----END PGP SIGNATURE-----
More information about the Openstack
mailing list