CVE-2025-59681
HIGH7.1EPSS 0.01%python-django - security update
發布日:2025/10/1修改日:2025/10/7
描述
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).
受影響套件(5)
- Bitnami/django>= 4.2.0, < 4.2.25, >= 5.1.0, < 5.1.13, >= 5.2.0, < 5.2.7
- Debian/python-djangofrom 0, < 2:2.2.28-1~deb11u9
- Debian/python-djangofrom 0, < 2:2.2.28-1~deb11u9
- PyPI/django>= 4.2, < 4.2.25
- PyPI/django>= 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 |
參考連結(11)
- ADVISORYhttps://docs.djangoproject.com/en/dev/releases/security/
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-59681
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-59681
- ADVISORYhttps://www.djangoproject.com/weblog/2025/oct/01/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/dev/releases/security
- WEBhttps://github.com/django/django/commit/41b43c74bda19753c757036673ea9db74acf494a
- WEBhttps://github.com/django/django/commit/43d84aef04a9e71164c21a74885996981857e66e
- WEBhttps://groups.google.com/g/django-announce
- WEBhttps://www.djangoproject.com/weblog/2025/oct/01/security-releases
- WEBhttp://www.openwall.com/lists/oss-security/2025/10/01/3