Bug 2302436 (CVE-2024-42005) - CVE-2024-42005 python-django: Potential SQL injection in QuerySet.values() and values_list()
Summary: CVE-2024-42005 python-django: Potential SQL injection in QuerySet.values() an...
Keywords:
Status: NEW
Alias: CVE-2024-42005
Deadline: 2024-08-06
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2302525 2302526
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-02 02:10 UTC by Robb Gatica
Modified: 2025-02-12 00:09 UTC (History)
23 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:6428 0 None None None 2024-09-05 14:10:08 UTC
Red Hat Product Errata RHSA-2024:8906 0 None None None 2024-11-05 17:25:08 UTC
Red Hat Product Errata RHSA-2025:1335 0 None None None 2025-02-12 00:09:37 UTC

Description Robb Gatica 2024-08-02 02:10:36 UTC
Description: QuerySet.values() and QuerySet.values_list() methods on models with a JSONField were subject to SQL injection in column aliases, via a crafted JSON object key as a passed *arg.

Affected versions
=================

* Django main development branch
* Django 5.1 (currently at release candidate status)
* Django 5.0
* Django 4.2

Comment 2 errata-xmlrpc 2024-09-05 14:10:06 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.4 for RHEL 9
  Red Hat Ansible Automation Platform 2.4 for RHEL 8

Via RHSA-2024:6428 https://access.redhat.com/errata/RHSA-2024:6428

Comment 3 errata-xmlrpc 2024-11-05 17:25:06 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

Via RHSA-2024:8906 https://access.redhat.com/errata/RHSA-2024:8906

Comment 4 errata-xmlrpc 2025-02-12 00:09:35 UTC
This issue has been addressed in the following products:

  RHUI 4 for RHEL 8

Via RHSA-2025:1335 https://access.redhat.com/errata/RHSA-2025:1335


Note You need to log in before you can comment on or make changes to this bug.