Package: glance / 2014.1.3-12
Metadata
| Package | Version | Patches format |
|---|---|---|
| glance | 2014.1.3-12 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| disable network for docs.patch | (download) |
doc/source/conf.py |
1 0 + 1 - 0 ! |
dont allow network access for building docs. |
| default config.patch | (download) |
etc/glance-api.conf |
2 1 + 1 - 0 ! |
sets flavor=caching by default |
| sql_conn registry.patch | (download) |
etc/glance-api.conf |
2 1 + 1 - 0 ! |
fixes default connection in glance-registry.conf & glance-api.conf |
| restrict_client_download_and_delete_files_in_glance api.patch | (download) |
glance/api/v1/images.py |
28 12 + 16 - 0 ! |
to prevent client use v2 patch api to handle file and swift location The change will be used to restrict client to download and delete any file in glance-api server. The same resone and logic as what we did in v1: https://github.com/openstack/glance/blob/master/glance/api/v1/images.py#L429 |
| CVE 2015 1195_Prevent_file_swift_config_and_filesystem_schemes.patch | (download) |
glance/store/__init__.py |
11 7 + 4 - 0 ! |
prevent file, swift+config and filesystem schemes This change ensures that 'file', 'filesystem', and 'swift+config' URI schemes are not allowed when setting the location field. A previous fix to CVE-2014-9493 attempted to address this issue but did not include 'filesystem', a URI scheme allowed by the glance_store. . Without this fix in place it is possible for a client to access any file the glance-api server has read permissions for. |
| CVE 2014 9623_Cleanup_chunks_for_deleted_image_that_was_saving_icehouse.patch | (download) |
glance/api/authorization.py |
4 2 + 2 - 0 ! |
cleanup chunks for deleted image that was 'saving' Currently image data cannot be removed synchronously for an image that is in saving state. And when, the upload operation for such an image is completed the operator configured quota can be exceeded. This patch fixes the issue of left over chunks for an image which was deleted from saving status. However, by the limitation of the design we cannot enforce a global quota check for the image in saving status. This change introduces a inconsonance between http response codes of v1 and v2 APIs. The status codes which we will now see after the upload process completes on an image which was deleted mid way are: . v1: 412 Precondition Failed v2: 410 Gone |
