ADVISORIES

GitHub Advisory Database

GHSA-f6f8-9mx6-9mx2

Django vulnerable to Denial of Service

Details

An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. get_supported_language_variant() was subject to a potential denial-of-service attack when used with very long strings containing specific characters.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 5.0 before 5.0.7 (fixed in 5.0.7)
PyPIdjango
From 4.2 before 4.2.14 (fixed in 4.2.14)

References