Property
Languagepython
Severitymedium
CWECWE-400: Uncontrolled Resource Consumption
OWASPA05:2021 - Security Misconfiguration
Confidence LevelLow
Impact LevelHigh
Likelihood LevelLow

Description#

The Django REST framework configuration is missing rate-limiting settings (‘DEFAULT_THROTTLE_CLASSES’ and ‘DEFAULT_THROTTLE_RATES’). Without these, your API endpoints have no protection against excessive requests.

Impact#

Attackers can overwhelm your application by sending a high volume of requests, leading to resource exhaustion or Denial of Service (DoS). This can make your API unavailable to legitimate users and may increase infrastructure costs.