diff options
| author | Haixiao Yan <haixiao.yan.cn@windriver.com> | 2026-04-10 15:04:59 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-04-15 14:10:33 +0530 |
| commit | 151e634ed297eec8d9b269c2b08001fd76f4cc62 (patch) | |
| tree | 2cc93ce861031d31ac3dcbf6e28df3d01b3bf02e /meta-python/recipes-devtools/python/python3-django_5.0.14.bb | |
| parent | c14dcffcd77b7b9d0d1f3473f98d51ffe2b166e9 (diff) | |
| download | meta-openembedded-151e634ed297eec8d9b269c2b08001fd76f4cc62.tar.gz | |
python3-django: fix CVE-2025-64459
The methods QuerySet.filter(), QuerySet.exclude(), and QuerySet.get(), and the
class Q() were subject to SQL injection when using a suitably crafted
dictionary, with dictionary expansion, as the _connector argument.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-64459
https://shivasurya.me/security/django/2025/11/07/django-sql-injection-CVE-2025-64459.html
Upstream-patch:
https://github.com/django/django/commit/72d2c87431f2ae0431d65d0ec792047f078c8241
https://github.com/django/django/commit/4624ed769c0f7caea0d48ac824a75fa6b6f17671
Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django_5.0.14.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-django_5.0.14.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.14.bb b/meta-python/recipes-devtools/python/python3-django_5.0.14.bb index c2c44b4cc7..84dd9dd5f4 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.0.14.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.0.14.bb | |||
| @@ -4,7 +4,10 @@ inherit setuptools3 | |||
| 4 | # Windows-specific DoS via NFKC normalization, not applicable to Linux | 4 | # Windows-specific DoS via NFKC normalization, not applicable to Linux |
| 5 | CVE_STATUS[CVE-2025-27556] = "not-applicable-platform: Issue only applies on Windows" | 5 | CVE_STATUS[CVE-2025-27556] = "not-applicable-platform: Issue only applies on Windows" |
| 6 | 6 | ||
| 7 | SRC_URI += "file://CVE-2025-64460.patch" | 7 | SRC_URI += "file://CVE-2025-64460.patch \ |
| 8 | file://CVE-2025-64459-1.patch \ | ||
| 9 | file://CVE-2025-64459-2.patch \ | ||
| 10 | " | ||
| 8 | SRC_URI[sha256sum] = "29019a5763dbd48da1720d687c3522ef40d1c61be6fb2fad27ed79e9f655bc11" | 11 | SRC_URI[sha256sum] = "29019a5763dbd48da1720d687c3522ef40d1c61be6fb2fad27ed79e9f655bc11" |
| 9 | 12 | ||
| 10 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
