CVE-2024-42005

Publication date 6 August 2024

Last updated 25 October 2024


Ubuntu priority

Cvss 3 Severity Score

7.3 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
python-django 24.04 LTS noble
Fixed 3:4.2.11-1ubuntu1.2
22.04 LTS jammy
Fixed 2:3.2.12-2ubuntu1.13
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Severity score breakdown

Parameter Value
Base score 7.3 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality Low
Integrity impact Low
Availability impact Low
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References

Related Ubuntu Security Notices (USN)

Other references