Affected versions
Version ranges need review.
PyPIdjango
- Affected versions
- >= 5.1.0, < 5.1.4
- Fixed version
- 5.1.4
PyPIdjango
- Affected versions
- >= 4.2.0, < 4.2.17
- Fixed version
- 4.2.17
PyPIdjango
- Affected versions
- >= 5.1, < 5.1.4
- Fixed version
- 5.1.4
PyPIdjango
- Affected versions
- >= 5.0, < 5.0.10
- Fixed version
- 5.0.10
PyPIdjango
- Affected versions
- >=5.1 <5.1.4 || >=5.0 <5.0.10 || >=4.2 <4.2.17 || =4.2 || =4.2.1 || =4.2.10 || =4.2.11 || =4.2.12 || =4.2.13 || =4.2.14 || =4.2.15 || =4.2.16 || =4.2.2 || =4.2.3 || =4.2.4 || =4.2.5 || =4.2.6 || =4.2.7 || =4.2.8 || =4.2.9 || =5.0 || =5.0.1 || =5.0.2 || =5.0.3 || =5.0.4 || =5.0.5 || =5.0.6 || =5.0.7 || =5.0.8 || =5.0.9 || =5.1 || =5.1.1 || =5.1.2 || =5.1.3
- Fixed version
- 4.2.17 · 5.0.10 · 5.1.4
PyPIdjango
- Affected versions
- >= 4.2, < 4.2.17
- Fixed version
- 4.2.17
PyPIdjango
- Affected versions
- >= 5.0.0, < 5.0.10
- Fixed version
- 5.0.10
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Red HatRed Hat Ansible Automation Platform 2/ansible-automation-platform-24/platform-resource-runner-rhel8
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Red HatRed Hat Ansible Automation Platform 2/ansible-automation-platform-25/platform-resource-runner-rhel9
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.)
Links
- https://docs.djangoproject.com/en/dev/releases/security
- https://docs.djangoproject.com/en/dev/releases/security/
- https://github.com/advisories/GHSA-m9g8-fxxm-xg86
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-157.yaml
- https://groups.google.com/g/django-announce
- https://nvd.nist.gov/vuln/detail/CVE-2024-53908
- https://www.djangoproject.com/weblog/2024/dec/04/security-releases
- https://www.openwall.com/lists/oss-security/2024/12/04/3

