First published: Thu Nov 28 2024(Updated: )
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.)
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/Django | >=4.2.0<4.2.17 | 4.2.17 |
pip/Django | >=5.1.0<5.1.4 | 5.1.4 |
pip/Django | >=5.0.0<5.0.10 | 5.0.10 |
debian/python-django | <=3:3.2.19-1+deb12u1<=3:4.2.16-1 | 2:2.2.28-1~deb11u2 3:4.2.17-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.