CVE-2024-53908

EUVD-2024-0049
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.)
SQL Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 71%
Affected Products (NVD)
VendorProductVersion
djangoprojectdjango
4.2 ≤
𝑥
< 4.2.17
djangoprojectdjango
5.0 ≤
𝑥
< 5.0.10
djangoprojectdjango
5.1 ≤
𝑥
< 5.1.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-django
bookworm
vulnerable
bookworm (security)
vulnerable
bullseye
2:2.2.28-1~deb11u2
not-affected
bullseye (security)
2:2.2.28-1~deb11u10
fixed
forky
3:4.2.27-2
fixed
sid
3:4.2.27-2
fixed
trixie
3:4.2.23-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-django
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
Fixed 3:4.2.11-1ubuntu1.4
released
oracular
Fixed 3:4.2.15-1ubuntu1.1
released
trusty
not-affected
xenial
not-affected