
CVE catalog
CVE-2024-42005
Django vulnerabilities
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.50% · Oct 25, 2026
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | fixed |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | fixed |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | fixed |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | fixed |
| Ubuntu | python-django | noble | 3:4.2.11-1ubuntu1.2 | fixed |
| Ubuntu | python-django-doc | noble | 3:4.2.11-1ubuntu1.2 | fixed |
| Ubuntu | python3-django | noble | 3:4.2.11-1ubuntu1.2 | fixed |
| Ubuntu | python-django | 22.04 | 2:2.2.24-1ubuntu1 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.1 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.2 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.3 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.4 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.5 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.6 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.7 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.8 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.9 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.10 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.11 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.12 | vulnerable |
| Ubuntu | python-django | 22.04 | 2:3.2.12-2ubuntu1.13 | fixed |
| Ubuntu | python-django | 24.04 | 3:4.2.4-1ubuntu2 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.8-1 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.9-1 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.11-1 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.11-1ubuntu1 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.11-1ubuntu1.1 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.11-1ubuntu1.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 3:4.2.15-1 | not yet assigned | Not reported | [1078074] |
| Debian | python-django | source | forky | 3:4.2.15-1 | not yet assigned | Not reported | [1078074] |
| Debian | python-django | source | trixie | 3:4.2.15-1 | not yet assigned | Not reported | [1078074] |
| Debian | python-django | source | bookworm | 3:3.2.25-0+deb12u1 | not yet assigned | Not reported | [1078074] |
| Ubuntu | python-django | deb | noble | 3:4.2.11-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Ubuntu | python-django-doc | deb | noble | 3:4.2.11-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Ubuntu | python3-django | deb | noble | 3:4.2.11-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Ubuntu | python-django | deb | 22.04 | 2:3.2.12-2ubuntu1.13 | Not reported | UBUNTU-CVE-2024-42005 | Not reported |
| Ubuntu | python-django | deb | 24.04 | 3:4.2.11-1ubuntu1.2 | Not reported | UBUNTU-CVE-2024-42005 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u1usn · python-django · debian · bookworm; usn · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.15-1usn · python-django · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11235-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-42005]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-42005]
- [https://security-tracker.debian.org/tracker/CVE-2024-42005]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-42005.json]
- [https://ubuntu.com/security/notices/USN-6946-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1775.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]