CVE
CVE-2025-57833
CVE-2025-57833HIGH 8.1EPSS 98%
CNA 原文 · 原文(英文)
An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().
受影响版本
- django≥ 5.2a1, < 5.2.6修复版本 5.2.6
- django≥ 5.0a1, < 5.1.12修复版本 5.1.12
- django< 4.2.24修复版本 4.2.24
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory
- www.djangoproject.com/weblog/2025/sep/03/security-releases/ · Vendor Advisory
- github.com/advisories/GHSA-6w2r-r2m5-xq5w · Third Party Advisory
- osv.dev/vulnerability/GHSA-6w2r-r2m5-xq5w · Third Party Advisory
- github.com/django/django/commit/102965ea93072fe3c39a30be437c683ec1106e · Vendor Advisory
- github.com/django/django/commit/31334e6965ad136a5e369993b01721499c5d1a · Vendor Advisory
- github.com/django/django/commit/4c044fcc866ec226f612c475950b690b0139d2 · Vendor Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- lists.debian.org/debian-lts-announce/2025/09/msg00017.html · Vendor Advisory
- www.djangoproject.com/weblog/2025/sep/03/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2025-105 · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。