CVE-2025-59681
python-django - security update
7.1
HIGH
CVSS 3.1
EPSS 0.58%
描述
An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).
如何修補 CVE-2025-59681
要修補 CVE-2025-59681,請將受影響套件升級到下列已修補版本。
- —升級至 4.2.25 或更新版本
- —升級至 2:2.2.28-1~deb11u9 或更新版本
- —升級至 2:2.2.28-1~deb11u9 或更新版本
- —升級至 4.2.25 或更新版本
- —升級至 4.2.25 或更新版本
CVE-2025-59681 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(5)
- >= 4.2.0, < 4.2.25, >= 5.1.0, < 5.1.13, >= 5.2.0, < 5.2.7
- from 0, < 2:2.2.28-1~deb11u9
- from 0, < 2:2.2.28-1~deb11u9
- >= 4.2, < 4.2.25
- >= 4.2, < 4.2.25, >= 5.1, < 5.1.13, >= 5.2, < 5.2.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N |