CVE-2024-42005

python-django: An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15

CVE-2024-42005 is fixed in 3 products on 1 platform, first by python3-django 2:3.2.12-2ubuntu1.13, released August 6, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.3
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0150
74th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-Django · opensuse-leap 15.6 4.2.11-150600.3.6.1 SUSE-SU-2024:2816-1 Aug 7, 2024
python-Django · sles 15.6 4.2.11-150600.3.6.1 SUSE-SU-2024:2816-1 Aug 7, 2024
python-django · Debian 12.15 (bookworm) 3:3.2.25-0+deb12u1 DEBIAN-CVE-2024-42005 Aug 7, 2024
python-django · Debian 13.5 (trixie) 3:4.2.15-1 DEBIAN-CVE-2024-42005 Aug 7, 2024
python-django · Debian 14 3:4.2.15-1 DEBIAN-CVE-2024-42005 Aug 7, 2024
python3-django · Ubuntu 22.04.1 LTS (jammy) 2:3.2.12-2ubuntu1.13 python3-django 2:3.2.12-2ubuntu1.13 Aug 6, 2024
python3-django · Ubuntu 24.04.5 LTS (noble) 3:4.2.11-1ubuntu1.2 python3-django 3:4.2.11-1ubuntu1.2 Aug 6, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.