Severity |
|
Remote |
|
Type |
- |
Unknown |
+ |
Insufficient validation |
|
Description |
+ |
A security issue has been found in Django before version 3.2.5. Unsanitized user input passed to QuerySet.order_by() could bypass intended column reference validation in path marked for deprecation resulting in a potential SQL injection even if a deprecation warning is emitted. As a mitigation the strict column reference validation was restored for the duration of the deprecation period. |
|
References |
+ |
https://docs.djangoproject.com/en/3.2/releases/3.2.5/#cve-2021-35042-potential-sql-injection-via-unsanitized-queryset-order-by-input |
+ |
https://github.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f |
|
Notes |
|