CVE-2024-53908

Name
CVE-2024-53908
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.)
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
cve@mitre.org https://docs.djangoproject.com/en/dev/releases/security/
cve@mitre.org https://groups.google.com/g/django-announce
cve@mitre.org https://www.openwall.com/lists/oss-security/2024/12/04/3

Match rules

CPE URI Source package Min version Max version
n/a == n/a == n/a
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 5.1 < 5.1.4
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 5.0 < 5.0.10
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 4.2 < 4.2.17

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py3-django edge-community 4.2.20-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
py3-django 3.22-community 4.2.20-r0 None fixed
py3-django 3.21-community 4.2.20-r0 Natanael Copa <ncopa@alpinelinux.org> fixed