Skip to main content

Allocation of Resources Without Limits or Throttling in sqlparse

Cx126feec9-ba34

  • sqlparse
Severity Medium
Score 6.9/10

Summary

Formatting a long list of tuples in SQLparse causes the process to hang, resulting in a Denial-of-Service condition. The issue was discovered during regression testing for Django 5.2's composite primary key feature, which uses tuple-based tuple queries. The vulnerability affects versions through 0.5.3 and has been fixed in 0.5.4.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-770 - Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.

References

Advisory Timeline

  • Published