PYSEC-2023-12

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2023-12.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2023-12
Aliases
Published
2023-02-01T19:15:00Z
Modified
2023-12-06T01:02:51.759822Z
Summary
[none]
Details

In 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.

References

Affected packages

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2
Fixed
3.2.17
Introduced
4.0
Fixed
4.0.9
Introduced
4.1
Fixed
4.1.6

Affected versions

3.*

3.2
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.2.10
3.2.11
3.2.12
3.2.13
3.2.14
3.2.15
3.2.16

4.*

4.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.0.7
4.0.8
4.1
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5