CVE-2023-23969Published Feb 1, 2023 · Feb 1Updated 2d ago
Django contains Uncontrolled Resource Consumption via cached header
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
4.1.6In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large.
From the CVE record · mitre
Django caches parsed Accept-Language header values. A remote attacker can cause excessive memory usage and potentially deny service by sending a very large raw Accept-Language header; the input does not specify an authentication or user-interaction requirement.
Check applications using the PyPI django package in the 3.2, 4.0, or 4.1 series before 3.2.17, 4.0.9, or 4.1.6, respectively, including affected prereleases.