meta-openembedded/meta-python/recipes-devtools/python/python3-django_2.2.16.bb
Stefan Ghinea 660e62b645 python3-django: fix CVE-2021-28658
In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8,
MultiPartParser allowed directory traversal via uploaded files with
suitably crafted file names. Built-in upload handlers were not affected
by this vulnerability.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-28658

Upstream patches:
4036d62bda

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-04-21 08:26:07 -07:00

12 lines
284 B
BlitzBasic

require python-django.inc
inherit setuptools3
SRC_URI[md5sum] = "93faf5bbd54a19ea49f4932a813b9758"
SRC_URI[sha256sum] = "62cf45e5ee425c52e411c0742e641a6588b7e8af0d2c274a27940931b2786594"
RDEPENDS_${PN} += "\
${PYTHON_PN}-sqlparse \
"
SRC_URI += "file://CVE-2021-28658.patch \
"