ArchLinux: 202006-8: python-django: multiple issues
Summary
- CVE-2020-13254 (information disclosure)
An information disclosure issue has been found in Django before 3.0.7,
via malformed memcached keys. In cases where a memcached backend does
not perform key validation, passing malformed cache keys could result
in a key collision, and potential data leakage. In order to avoid this
vulnerability, key validation is added to the memcached cache backends.
- CVE-2020-13596 (cross-site scripting)
A possible XSS has been found in Django before 3.0.7, via admin
ForeignKeyRawIdWidget. Query parameters for the admin
ForeignKeyRawIdWidget were not properly URL encoded, posing an XSS
attack vector.
Resolution
Upgrade to 3.0.7-1.
# pacman -Syu "python-django>=3.0.7-1"
The problems have been fixed upstream in version 3.0.7.
References
https://www.djangoproject.com/weblog/2020/jun/03/security-releases/ https://github.com/django/django/commit/84b2da5552e100ae3294f564f6c862fef8d0e693 https://github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38 https://security.archlinux.org/CVE-2020-13254 https://security.archlinux.org/CVE-2020-13596
Workaround
None.