CVE-2021-23336: Web cache poisoning viadjango.utils.http.limited_parse_qsl()
Django contains a copy ofurllib.parse.parse_qsl()which was added to backport some security fixes. A further security fix has been issued recently such thatparse_qsl()no longer allows using;as a query parameter separator by default. Django now includes this fix. See bpo-42967 for further details.
This issue has moderate severity, according to the Django security policy.
Patches to resolve the issue have been applied to the 3.2, 3.1, 3.0, and 2.2 release branches. The patches may be obtained from the following changesets:
The following releases have been issued:
The PGP key ID used for these releases is Carlton Gibson: E17DF5C82B4F9D00.
Django 3.2 beta 1 will be released in a separate blog post later today.
General notes regarding security reporting
As always, we ask that potential security issues be reported via private email email@example.com, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.