Read the docs
TI-2024-36079 Aliases CVE-2024-53908GHSA-m9g8-fxxm-xg86

An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before…

Priority MEDIUM 52CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 4 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.

Summary

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.)

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01415 72nd percentileScored 2026-11-07
Fix Partial Django (PyPI): 5.0.10, 5.1.4, 4.2.17django (PyPI): 5.1.4, 5.0.10, 4.2.17Red Hat: 4 advisoriesRed Hat: 4 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)5.0.0 to before 5.0.105.0.10Patch availableGHSA-m9g8-fxxm-xg86
—Django (PyPI)5.1.0 to before 5.1.45.1.4Patch availableGHSA-m9g8-fxxm-xg86
—Django (PyPI)4.2.0 to before 4.2.174.2.17Patch availableGHSA-m9g8-fxxm-xg86
—django (PyPI)5.1 to before 5.1.45.1.4Patch availableGHSA-m9g8-fxxm-xg86
—django (PyPI)5.0 to before 5.0.105.0.10Patch availableGHSA-m9g8-fxxm-xg86
—django (PyPI)4.2 to before 4.2.174.2.17Patch availableGHSA-m9g8-fxxm-xg86
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected 5.0.0 to before 5.0.10 Fixed in 5.0.10 Patch available GHSA-m9g8-fxxm-xg86
  • Django (PyPI) Vendor— Affected 5.1.0 to before 5.1.4 Fixed in 5.1.4 Patch available GHSA-m9g8-fxxm-xg86
  • Django (PyPI) Vendor— Affected 4.2.0 to before 4.2.17 Fixed in 4.2.17 Patch available GHSA-m9g8-fxxm-xg86
  • django (PyPI) Vendor— Affected 5.1 to before 5.1.4 Fixed in 5.1.4 Patch available GHSA-m9g8-fxxm-xg86
  • django (PyPI) Vendor— Affected 5.0 to before 5.0.10 Fixed in 5.0.10 Patch available GHSA-m9g8-fxxm-xg86
  • django (PyPI) Vendor— Affected 4.2 to before 4.2.17 Fixed in 4.2.17 Patch available GHSA-m9g8-fxxm-xg86

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*4.2 to before 4.2.17; 5.0 to before 5.0.10; 5.1 to before 5.1.4Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 4.2 to before 4.2.17; 5.0 to before 5.0.10; 5.1 to before 5.1.4 Vulnerable ·djangoproject

Remediation

  • Fix · GHSA-m9g8-fxxm-xg86 Django (PyPI) Fixed in 5.0.10 Advisory →
  • Fix · GHSA-m9g8-fxxm-xg86 Django (PyPI) Fixed in 5.1.4 Advisory →
  • Fix · GHSA-m9g8-fxxm-xg86 Django (PyPI) Fixed in 4.2.17 Advisory →
  • Fix · GHSA-m9g8-fxxm-xg86 django (PyPI) Fixed in 5.1.4 Advisory →
  • Fix · GHSA-m9g8-fxxm-xg86 django (PyPI) Fixed in 5.0.10 Advisory →
  • Fix · GHSA-m9g8-fxxm-xg86 django (PyPI) Fixed in 4.2.17 Advisory →

Red Hat 4 advisories

  • RHSA-2025:0721 Released 2025-01-27 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.5.17-1.el8ap, python39-jinja2-3.1.5-1.el8ap, python3x-jinja2-3.1.5-1.el8ap
    • Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.5.17-1.el9ap, python-jinja2-3.1.5-1.el9ap, python3-jinja2-3.1.5-1.el9ap
  • RHSA-2025:0340 Released 2025-01-15 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-venv-tower-4.6.6-1.el8ap, automation-gateway-server-2.5.20250115-1.el8ap, python3.11-aiohttp-3.10.11-1.el8ap
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-venv-tower-4.6.6-1.el9ap, automation-gateway-server-2.5.20250115-1.el9ap, python3.11-aiohttp-3.10.11-1.el9ap
  • RHSA-2024:11146 Released 2024-12-17 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Container Release Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/aap-cloud-billing-rhel8, ansible-automation-platform-25/aap-cloud-billing-rhel8-operator, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8 +29
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-automation-platform-25/ansible-builder-rhel9, ansible-automation-platform-25/ansible-python-base-rhel9, ansible-automation-platform-25/ansible-python-toolkit-rhel9 +5
Show 1 more Red Hat advisories
  • RHSA-2024:11144 Released 2024-12-16 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.4 Container Release Update
    • Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-automation-platform-24/aap-cloud-billing-rhel8, ansible-automation-platform-24/aap-cloud-billing-rhel8-operator, ansible-automation-platform-24/aap-cloud-metrics-collector-rhel8 +27
    • Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-automation-platform-24/ansible-builder-rhel9, ansible-automation-platform-24/ansible-python-base-rhel9, ansible-automation-platform-24/ansible-python-toolkit-rhel9 +4

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 1.2AffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Ansible Automation Platform 2.4 for RHEL 8Fixed RHSA-2024:11144, RHSA-2025:0721
Red Hat Ansible Automation Platform 2.4 for RHEL 9Fixed RHSA-2024:11144, RHSA-2025:0721
Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed RHSA-2024:11146, RHSA-2025:0340
Red Hat Ansible Automation Platform 2.5 for RHEL 9Fixed RHSA-2024:11146, RHSA-2025:0340
Not affected: 6 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8
  • Red Hat Ansible Automation Platform 2.4 for RHEL 9
  • Red Hat Ansible Automation Platform 2.5 for RHEL 8
  • Red Hat Ansible Automation Platform 2.5 for RHEL 9
  • Red Hat Discovery 1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-53908
  2. 2026-10-03 Alias added: GHSA-m9g8-fxxm-xg86

References

  • TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
  • TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
  • TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
  • TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
  • TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
  • TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
See all 156 →

Sources