CVE-2024-53908
Last modified
CVE-2024-53908 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.40% chance of exploitation in the next 30 days.
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.)
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.17 |
| Djangoproject | Django | >= 5.0, < 5.0.10 |
| Djangoproject | Django | >= 5.1, < 5.1.4 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Patch, Vendor Advisory
- https://groups.google.com/g/django-announceRelease Notes
- https://www.openwall.com/lists/oss-security/2024/12/04/3Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-53908?
How severe is CVE-2024-53908?
How do I fix CVE-2024-53908?
Are you affected by CVE-2024-53908?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
