[pre-OSSA] Vulnerability in OpenStack Glance (CVE-2016-0757) / Glance image status manipulation through locations removal (OSSA-2016-006)

Bug #1539520 reported by Alexey Galkin
262
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Critical
Kairat Kushaev
7.0.x
Fix Released
Critical
Denis Puchkin
8.0.x
Fix Released
Critical
Kairat Kushaev

Bug Description

This is an advance warning of a vulnerability discovered in OpenStack,
to give you, as downstream stakeholders, a chance to coordinate the
release of fixes and reduce the vulnerability window. Please treat the
following information as confidential until the proposed public
disclosure date.

Title: Glance image status manipulation through locations removal
Reporter: Erno Kuvaja (HPE)
Products: Glance
Affects: <=2015.1.2, >=11.0.0 <= 11.0.1

Description:
Erno Kuvaja from HPE reported a vulnerability in Glance. By removing the
last location of an image, an authenticated user may change the image
status back to queued and may be able to upload new image data resulting
in a broken Glance's immutability promise. A malicious tenant may
exploit this flaw to silently replace image data it owns, regardless of
the original creator or the visibility settings. Only setups with
show_multiple_locations enabled (not default) are affected.

Note:
The proposed fix prevents the removal of the last location of an image
so that an active image is always available. This action was previously
incorrectly allowed and the fix might break some users who are relying
on the false assumption that it would be ok to replace the data of
existing image in the special case that the multiple locations has been
configured.

Proposed patch:
See attached patches. Unless a flaw is discovered in them, these patches
will be merged to master/mitaka, stable/kilo and stable/liberty on the
public disclosure date.

CVE: CVE-2016-0757

Proposed public disclosure date/time:
2016-02-03, 1500UTC
Please do not make the issue public (or release public patches) before
this coordinated embargo date.

CVE References

Alexey Galkin (agalkin)
Changed in mos:
status: New → Confirmed
assignee: nobody → Kairat Kushaev (kkushaev)
importance: Undecided → Critical
milestone: none → 8.0
tags: added: area-glance glance
Revision history for this message
Kairat Kushaev (kkushaev) wrote :
Alexey Galkin (agalkin)
summary: - [pre-OSSA] Vulnerability in OpenStack Glance (CVE-2016-0757)
+ [pre-OSSA] Vulnerability in OpenStack Glance (CVE-2016-0757) / Glance
+ image status manipulation through locations removal
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote : Re: [pre-OSSA] Vulnerability in OpenStack Glance (CVE-2016-0757) / Glance image status manipulation through locations removal

https://review.fuel-infra.org/#/c/16556/ is merged, closing the bug

Revision history for this message
Alexey Galkin (agalkin) wrote :

Verificated on:

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "529"
  build_id: "529"
  fuel-nailgun_sha: "baec8643ca624e52b37873f2dbd511c135d236d9"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "e2d79330d5d708796330fac67722c21f85569b87"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "e071216cb214e34b4d861478033425ee6a54a3be"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "a365f05b903368225da3fea9aa42afc1d50dc9b4"

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on MOS 7.0 + mu3 updates.

tags: removed: on-verification
tags: added: on-automated
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :
tags: removed: on-automated
tags: added: covered-automated-test
information type: Private Security → Public Security
summary: [pre-OSSA] Vulnerability in OpenStack Glance (CVE-2016-0757) / Glance
- image status manipulation through locations removal
+ image status manipulation through locations removal (OSSA-2016-006)
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.