OSSN-0002: HTTP POST limiting advised to avoid Essex/Folsom Keystone DoS

Summary

Concurrent Keystone POST requests with large body messages are held in memory without filtering or rate limiting, this can lead to resource exhaustion on the Keystone server.

Affected Services / Software

Keystone, Databases

Discussion

Keystone stores POST messages in memory before validation, concurrent submission of multiple large POST messages can cause the Keystone process to be killed due to memory exhaustion, resulting in a remote Denial of Service.

In many cases Keystone will be deployed behind a load-balancer or proxy that can rate limit POST messages inbound to Keystone. Grizzly is protected against that through the sizelimit middleware.

Contacts / References

Author: Robert Clark, HP