pysec-2024-70
Vulnerability from pysec
Published
2024-08-07 15:15
Modified
2024-08-07 17:22
Details
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "django", "purl": "pkg:pypi/django" }, "ranges": [ { "events": [ { "introduced": "5.0" }, { "fixed": "5.0.8" }, { "introduced": "4.2" }, { "fixed": "4.2.15" } ], "type": "ECOSYSTEM" } ], "versions": [ "4.2", "4.2.1", "4.2.10", "4.2.11", "4.2.12", "4.2.13", "4.2.14", "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" ] } ], "aliases": [ "CVE-2024-42005" ], "details": "An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.", "id": "PYSEC-2024-70", "modified": "2024-08-07T17:22:10.804411+00:00", "published": "2024-08-07T15:15:00+00:00", "references": [ { "type": "WEB", "url": "https://docs.djangoproject.com/en/dev/releases/security/" }, { "type": "WEB", "url": "https://groups.google.com/forum/#%21forum/django-announce" }, { "type": "ARTICLE", "url": "https://www.djangoproject.com/weblog/2024/aug/06/security-releases/" } ] }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.