This page tracks the Alpine Linux fix status. The vulnerability itself is described on the main CVE page.
View CVE-2025-59681 →
Unrated
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.aggregat...
ALPINE-CVE-2025-59681
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.22py3-django |
< 4.2.25-r0→ 4.2.25-r0 |
4.2.25-r0 |
| Alpine:v3.23py3-django |
< 4.2.25-r0→ 4.2.25-r0 |
4.2.25-r0 |
| Alpine:v3.24py3-django |
< 4.2.25-r0→ 4.2.25-r0 |
4.2.25-r0 |
Original description The description as published by the source.
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).
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org