CVE-2025-64459 (CNNVD-202511-412)

CRITICAL
中文标题:
Django 安全漏洞
英文标题:
Potential SQL injection via _connector keyword argument in QuerySet and Q objects
CVSS分数: 9.1
发布时间: 2025-11-05 15:09:58
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 5.1版本至5.1.14之前版本、4.2版本至4.2.26之前版本和5.2版本至5.2.8之前版本存在安全漏洞,该漏洞源于QuerySet.filter、QuerySet.exclude、QuerySet.get和Q类在使用特制字典作为_connector参数时,可能导致SQL注入攻击。

英文描述:

An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. The methods `QuerySet.filter()`, `QuerySet.exclude()`, and `QuerySet.get()`, and the class `Q()`, are subject to SQL injection when using a suitably crafted dictionary, with dictionary expansion, as the `_connector` argument. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank cyberstan for reporting this issue.

CWE类型:
CWE-89
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
djangoproject Django - < 5.2.8 - cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django * - - cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
Django security archive vendor-advisory
cve.org
访问
Django releases announcements mailing-list
cve.org
访问
Django security releases issued: 5.2.8, 5.1.14, and 4.2.26 vendor-advisory
cve.org
访问
af854a3a-2127-422b-91ae-364da2661108 OTHER
nvd.nist.gov
访问
CVSS评分详情
3.1 (adp)
CRITICAL
9.1
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
机密性
HIGH
完整性
HIGH
可用性
NONE
时间信息
发布时间:
2025-11-05 15:09:58
修改时间:
2025-11-08 12:49:45
创建时间:
2025-11-11 15:40:50
更新时间:
2025-11-11 16:00:22
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-64459 2025-11-11 15:23:34 2025-11-11 07:40:50
NVD nvd_CVE-2025-64459 2025-11-11 15:01:08 2025-11-11 07:48:36
CNNVD cnnvd_CNNVD-202511-412 2025-11-11 15:13:01 2025-11-11 08:00:22
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:22
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202511-412; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202511-412
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:36
affected_products_count: 3 → 2; references_count: 3 → 4; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 3 -> 2
  • references_count: 3 -> 4
  • data_sources: ['cve'] -> ['cve', 'nvd']