# CVE-2024-53908: python3-django: An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and4.2 before 4.2.17

CVE-2024-53908 is fixed in 3 products on 1 platform, first by python3-django 3:4.2.11-1ubuntu1.4, released December 4, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-53908
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0142
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 4, 2024

## Description

An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKeylookup, when an Oracle database is used, is subject to SQL injection ifuntrusted data is used as an lhs value. (Applications that use thejsonfield.has_key lookup via __ are unaffected.)

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-Django opensuse-leap 15.6 | 4.2.11-150600.3.12.1 | [SUSE-SU-2024:4285-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4285-1.md) | Dec 11, 2024 |
| Linux | python-Django sles 15.6 | 4.2.11-150600.3.12.1 | [SUSE-SU-2024:4285-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4285-1.md) | Dec 11, 2024 |
| Linux | python-django Debian 13.5 (trixie) | 3:4.2.17-1 | [DEBIAN-CVE-2024-53908](https://patchblox.com/security/data/fix/linux/debian-cve-2024-53908.md) | Dec 6, 2024 |
| Linux | python-django Debian 14 | 3:4.2.17-1 | [DEBIAN-CVE-2024-53908](https://patchblox.com/security/data/fix/linux/debian-cve-2024-53908.md) | Dec 6, 2024 |
| Linux | python3-django Ubuntu 24.04.5 LTS (noble) | 3:4.2.11-1ubuntu1.4 | [python3-django 3:4.2.11-1ubuntu1.4](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-django-3-4.2.11-1ubuntu1.4.md) | Dec 4, 2024 |
| Linux | python3-django Ubuntu 24.10 (oracular) | 3:4.2.15-1ubuntu1.1 | [python3-django 3:4.2.15-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-django-3-4.2.15-1ubuntu1.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
