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:46:23 +0100 |
| commit | 9d7bd5a56b1ce0576e8e07a8001373576d277942 (patch) | |
| tree | 49073889a335da8b8ad64bea77f03a7ec74c1693 /django/__init__.py | |
| parent | d3edac6c071c544c7d2208baf13d6d0fdc5e58fe (diff) | |
[4.1.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
