CVE-2024-42005

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42005
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42005.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42005
Aliases
Related
Published
2024-08-07T15:15:56Z
Modified
2024-09-03T22:22:05.129680Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events

Affected versions

4.*

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