mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-31 09:40:23 +00:00
In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3,
EmailValidator and URLValidator are subject to a potential ReDoS
(regular expression denial of service) attack via a very large
number of domain name labels of emails and URLs.
Since, there is no ptest available for python3-django so have not
tested the patch changes at runtime.
References:
https://github.com/advisories/GHSA-jh3w-4vvf-mjgr
454f2fb934
Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
17 lines
402 B
BlitzBasic
17 lines
402 B
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 \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-sqlparse \
|
|
"
|