Improper Control of Interaction Frequency Affecting django-smart-ratelimit package, versions [,0.3.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGOSMARTRATELIMIT-12671224
  • published15 Sept 2025
  • disclosed1 Aug 2025
  • creditUnknown

Introduced: 1 Aug 2025

CVE NOT AVAILABLE CWE-799  (opens in a new tab)

How to fix?

Upgrade django-smart-ratelimit to version 0.3.2 or higher.

Overview

django-smart-ratelimit is an A flexible and efficient rate limiting library for Django applications

Affected versions of this package are vulnerable to Improper Control of Interaction Frequency via counter.save() function that does not implement atomic increments. In the fixed-window backend concurrent requests can overwrite each other’s increments and lead to rate limit bypass. In the sliding-window backend, the delete/create steps are not wrapped in a transaction.atomic(), allowing inconsistent state under load.

CVSS Base Scores

version 4.0
version 3.1