Skip to content

CVE-2024-53908

Djangoproject Django SQL injection

9.8 CRITICALEPSS 1.42%
  1. Published6 Dec 2024

Description

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

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Djangoproject Django≥ 4.2 < 4.2.17 · ≥ 5.0 < 5.0.10 · ≥ 5.1 < 5.1.4

Remediation

Fixed in
Djangoproject Django≥ 4.2.17

Frequently asked

Is CVE-2024-53908 being actively exploited?

CVE-2024-53908 is not in the CISA KEV catalog. Its EPSS exploit probability is 1.42%.

How severe is CVE-2024-53908?

CVE-2024-53908 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 1.42% probability of exploitation.

Which products are affected by CVE-2024-53908?

Affected products include Djangoproject Django.

How do I fix CVE-2024-53908?

Upgrade affected software to a fixed version, for example Djangoproject Django 4.2.17 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2024-53908 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.