Glance needs a config option to limit the number of tags

Bug #1252337 reported by Brian Rosmaita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Alex Meade

Bug Description

Glance v2 allows users to put "tags" on an image. There is no limit to the number of tags.

This is a (linear) DoS attack vector.

The fix for this should be done similar to the fix for https://bugs.launchpad.net/glance/+bug/1251518 to keep configuration consistent.

Alex Meade (alex-meade)
Changed in glance:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Alex Meade (alex-meade)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/58056

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/58056
Committed: http://github.com/openstack/glance/commit/4e7d9cdaf9e6d1c260a61f232e4ec0e21819ac0e
Submitter: Jenkins
Branch: master

commit 4e7d9cdaf9e6d1c260a61f232e4ec0e21819ac0e
Author: Alex Meade <email address hidden>
Date: Fri Nov 22 15:54:06 2013 +0000

    Add config option to limit image tags

    This patch adds the image_tag_quota config option. This allows a deployer
    to limit the number of image tags allowed on an image for v2. The default value
    is 128. If an image is somehow over the limit, tags can still be removed but no
    more may be added.

    Fixes bug 1252337
    docImpact

    Change-Id: I2036e2a88601d7c5aa85fad32d90fe0ed30b84c8

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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