summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/schema.py
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2023-01-25 12:21:48 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 09:44:04 +0100
commit8c660fb59239828583f17cdede3b64f208b8752c (patch)
tree443edc779e626ff26d94fd9652c5c504db572136 /django/db/backends/postgresql/schema.py
parent110b3b83567da22f19ec04210db134d0fe83d662 (diff)
downloaddjango-8c660fb59239828583f17cdede3b64f208b8752c.tar.gz
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/db/backends/postgresql/schema.py')
0 files changed, 0 insertions, 0 deletions