Description
zae-limiter is a rate limiting library using the token bucket algorithm. Prior to version 0.10.1, all rate limit buckets for a single entity share the same DynamoDB partition key (`namespace/ENTITY#{id}`). A high-traffic entity can exceed DynamoDB's per-partition throughput limits (~1,000 WCU/sec), causing throttling that degrades service for that entity — and potentially co-located entities in the same partition. Version 0.10.1 fixes the issue.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
References
github.com/...imiter/security/advisories/GHSA-76rv-2r9v-c5m6
github.com/zeroae/zae-limiter/releases/tag/v0.10.1