diff options
| author | Narpat Mali <narpat.mali@windriver.com> | 2023-11-30 12:23:37 +0000 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-01-12 07:14:16 -0500 |
| commit | fee55605480b07337a6dc953a848f6a7e31f9a85 (patch) | |
| tree | 46a564fd1a53649a739671e154694320d43a44c9 /meta-python/recipes-devtools/python/python3-django_2.2.28.bb | |
| parent | 8a042b540db5421785edcf21d5114be6358246fd (diff) | |
| download | meta-openembedded-fee55605480b07337a6dc953a848f6a7e31f9a85.tar.gz | |
python3-django: Fix for CVE-2023-43665 and CVE-2023-46695
CVE-2023-43665:
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the
django.utils.text.Truncator chars() and words() methods (when used with
html=True) are subject to a potential DoS (denial of service) attack via
certain inputs with very long, potentially malformed HTML text. The chars()
and words() methods are used to implement the truncatechars_html and
truncatewords_html template filters, which are thus also vulnerable.
NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
CVE-2023-46695:
An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and
4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence,
django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of
service) attack via certain inputs with a very large number of Unicode characters.
References:
https://www.djangoproject.com/weblog/2023/oct/04/security-releases/
https://www.djangoproject.com/weblog/2023/nov/01/security-releases/
Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django_2.2.28.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-django_2.2.28.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django_2.2.28.bb b/meta-python/recipes-devtools/python/python3-django_2.2.28.bb index c35323f455..8c955e6bd8 100644 --- a/meta-python/recipes-devtools/python/python3-django_2.2.28.bb +++ b/meta-python/recipes-devtools/python/python3-django_2.2.28.bb | |||
| @@ -8,6 +8,8 @@ inherit setuptools3 | |||
| 8 | SRC_URI += "file://CVE-2023-31047.patch \ | 8 | SRC_URI += "file://CVE-2023-31047.patch \ |
| 9 | file://CVE-2023-36053.patch \ | 9 | file://CVE-2023-36053.patch \ |
| 10 | file://CVE-2023-41164.patch \ | 10 | file://CVE-2023-41164.patch \ |
| 11 | file://CVE-2023-43665.patch \ | ||
| 12 | file://CVE-2023-46695.patch \ | ||
| 11 | " | 13 | " |
| 12 | 14 | ||
| 13 | SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413" | 15 | SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413" |
