CVE-2025-64459 (CNNVD-202511-412)
中文标题:
Django 安全漏洞
英文标题:
Potential SQL injection via _connector keyword argument in QuerySet and Q objects
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| djangoproject | Django | - | < 5.2.8 | - |
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
|
| djangoproject | django | * | - | - |
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (adp)
CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202511-412
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 3 -> 2
- references_count: 3 -> 4
- data_sources: ['cve'] -> ['cve', 'nvd']