An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Red Hat Ansible Automation Platform 2.4 for RHEL 8 | RedHat | python3x-django-0:4.2.24-1.el8ap | * |
Red Hat Ansible Automation Platform 2.4 for RHEL 8 | RedHat | ansible-automation-platform-24/lightspeed-rhel8:2.4.250225-18 | * |
Red Hat Ansible Automation Platform 2.4 for RHEL 9 | RedHat | python-django-0:4.2.24-1.el9ap | * |
Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | automation-controller-0:4.6.20-1.el8ap | * |
Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | python3.11-django-0:4.2.24-1.el8ap | * |
Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | ansible-automation-platform-25/lightspeed-rhel8:2.5.250924-1 | * |
Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | automation-controller-0:4.6.20-1.el9ap | * |
Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | python3.11-django-0:4.2.24-1.el9ap | * |
Red Hat OpenStack Platform 16.2 | RedHat | python-django20-0:2.0.13-20.el8ost | * |
Red Hat OpenStack Platform 17.1 for RHEL 9 | RedHat | python-django-0:2.2.24-12.el9ost | * |
Red Hat OpenStack Services on OpenShift 18.0 | RedHat | python-django-0:3.2.12-9.el9ost | * |
Red Hat Satellite 6.15 for RHEL 8 | RedHat | python-django-0:4.2.24-0.1.el8pc | * |
Red Hat Satellite 6.15 for RHEL 8 | RedHat | python-django-0:4.2.24-0.1.el8pc | * |
Red Hat Satellite 6.16 for RHEL 8 | RedHat | python-django-0:4.2.24-0.1.el8pc | * |
Red Hat Satellite 6.16 for RHEL 8 | RedHat | python-django-0:4.2.24-0.1.el8pc | * |
Red Hat Satellite 6.16 for RHEL 9 | RedHat | python-django-0:4.2.24-0.1.el9pc | * |
Red Hat Satellite 6.16 for RHEL 9 | RedHat | python-django-0:4.2.24-0.1.el9pc | * |
Red Hat Satellite 6.17 for RHEL 9 | RedHat | python-django-0:4.2.24-0.1.el9pc | * |
Red Hat Satellite 6.17 for RHEL 9 | RedHat | python-django-0:4.2.24-0.1.el9pc | * |
Python-django | Ubuntu | devel | * |
Python-django | Ubuntu | esm-infra/focal | * |
Python-django | Ubuntu | jammy | * |
Python-django | Ubuntu | noble | * |
Python-django | Ubuntu | plucky | * |
Python-django | Ubuntu | upstream | * |