diff options
| author | Nick Pope <nick@nickpope.me.uk> | 2023-01-25 12:21:48 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-01 09:47:17 +0100 |
| commit | 4452642f193533e288a52c02efb5bbc766a68f95 (patch) | |
| tree | 5c24d90c44acb39d231610d3a9421d3ff886fecc /django/__init__.py | |
| parent | b880e20876fec670e11db8b42f754fbbbfd8055c (diff) | |
[4.0.x] Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language.
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.
Accept-Language headers are now limited to a maximum length in order
to avoid this issue.
Diffstat (limited to 'django/__init__.py')
0 files changed, 0 insertions, 0 deletions
