
CVE catalog
CVE-2024-53908
Django vulnerabilities
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.42% · Oct 25, 2026
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value. (Applications that use the jsonfield.has_key lookup via __ are unaffected.)
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 | not affected |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | not affected |
| Ubuntu | python-django | noble | Not reported | vulnerable |
| Ubuntu | python-django | noble | 3:4.2.11-1ubuntu1.4 | fixed |
| Ubuntu | python-django-doc | noble | 3:4.2.11-1ubuntu1.4 | fixed |
| Ubuntu | python3-django | noble | 3:4.2.11-1ubuntu1.4 | 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 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.11-1ubuntu1.3 | vulnerable |
| Ubuntu | python-django | 24.04 | 3:4.2.11-1ubuntu1.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 3:4.2.17-1 | not yet assigned | Not reported | Not reported |
| Debian | python-django | source | forky | 3:4.2.17-1 | not yet assigned | Not reported | Not reported |
| Debian | python-django | source | trixie | 3:4.2.17-1 | not yet assigned | Not reported | Not reported |
| Debian | python-django | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Ubuntu | python-django | deb | noble | 3:4.2.11-1ubuntu1.4 | Not reported | Not reported | Not reported |
| Ubuntu | python-django-doc | deb | noble | 3:4.2.11-1ubuntu1.4 | Not reported | Not reported | Not reported |
| Ubuntu | python3-django | deb | noble | 3:4.2.11-1ubuntu1.4 | Not reported | Not reported | Not reported |
| Ubuntu | python-django | deb | 24.04 | 3:4.2.11-1ubuntu1.4 | Not reported | UBUNTU-CVE-2024-53908 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-django]Not affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormNot affected
usn · python-django · debian · bookworm
3:3.2.25-0+deb12u3· all · bookwormNot affected
usn · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsNot affected
usn · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsNot affected
usn · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityNot affected
usn · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityNot affected
usn · python-django · debian · bookworm
- [python-django-doc]Not affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormNot affected
usn · python-django · debian · bookworm
3:3.2.25-0+deb12u3· all · bookwormNot affected
usn · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsNot affected
usn · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsNot affected
usn · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityNot affected
usn · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityNot affected
usn · python-django · debian · bookworm
[Debian 13 (Trixie)]
- [python3-django]Fixed
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
- [python-django-doc]Fixed
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.17-1usn · python-django · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11270-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-53908]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-53908]
- [https://security-tracker.debian.org/tracker/CVE-2024-53908]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-53908.json]
- [https://ubuntu.com/security/notices/USN-7136-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-3609.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)]