CVE-2024-53908
CRITICAL9.8EPSS 0.86%Django SQL injection in HasKey(lhs, rhs) on Oracle
發布日:2024/12/6修改日:2025/4/3
描述
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.)
受影響套件(4)
- Bitnami/django>= 4.2.0, < 4.2.17, >= 5.0.0, < 5.1.4
- Debian/python-djangofrom 0, < 3:4.2.17-1
- PyPI/django>= 5.0.0, < 5.0.10
- PyPI/django>= 5.1, < 5.1.4, >= 5.0, < 5.0.10, >= 4.2, < 4.2.17
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-53908
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-53908
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/dev/releases/security
- WEBhttps://docs.djangoproject.com/en/dev/releases/security/
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-157.yaml
- WEBhttps://groups.google.com/g/django-announce
- WEBhttps://www.djangoproject.com/weblog/2024/dec/04/security-releases
- WEBhttps://www.openwall.com/lists/oss-security/2024/12/04/3