Files
meta-openembedded/meta-python/recipes-devtools/python/python3-django_2.2.28.bb
Soumya Sambu 954acdcf1b python3-django: Fix CVE-2024-53907
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2
before 4.2.17. The strip_tags() method and striptags template filter are subject
to a potential denial-of-service attack via certain inputs containing large
sequences of nested incomplete HTML entities.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-53907

Upstream-patch:
790eb058b0

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-01-22 19:23:09 -05:00

34 lines
1.1 KiB
BlitzBasic

require python-django.inc
# Pin to 2.2.x LTS releases ONLY for this recipe
UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(2\.2\.\d*)+)/"
inherit setuptools3
SRC_URI += "file://CVE-2023-31047.patch \
file://CVE-2023-36053.patch \
file://CVE-2023-41164.patch \
file://CVE-2023-43665.patch \
file://CVE-2023-46695.patch \
file://CVE-2024-24680.patch \
file://CVE-2024-42005.patch \
file://CVE-2024-38875.patch \
file://CVE-2023-23969.patch \
file://CVE-2024-39614.patch \
file://CVE-2024-41989-0001.patch \
file://CVE-2024-41989-0002.patch \
file://CVE-2024-41989-0003.patch \
file://CVE-2024-41989-0004.patch \
file://CVE-2024-41990.patch \
file://CVE-2024-41991.patch \
file://CVE-2024-45230.patch \
file://CVE-2024-45231.patch \
file://CVE-2024-53907.patch \
"
SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"
RDEPENDS:${PN} += "\
${PYTHON_PN}-sqlparse \
"