OSSN-0057: DoS attack on Glance service can lead to interruption or disruption

Summary

The typical Glance workflow allows authenticated users to create an image and upload the image content in a separate step. This can be abused by malicious users to flood the Glance database with entries for zero sized images.

Affected Services / Software

Glance, Icehouse, Juno, Kilo, Liberty

Discussion

Glance by default allows an authenticated user to create zero size images. Those images do not consume resources on the storage backend and do not hit any limits for size, but do take up space in the database.

Malicious users can potentially cause database resource depletion with an endless flood of ‘image-create’ requests.

Contacts / References

Author: Eric Brown, VMware