Bug 1975918 (CVE-2021-35042) - CVE-2021-35042 django: potential SQL injection via unsanitized QuerySet.order_by() input
Summary: CVE-2021-35042 django: potential SQL injection via unsanitized QuerySet.order...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-35042
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1976793 1978288
Blocks: 1975920
TreeView+ depends on / blocked
 
Reported: 2021-06-24 17:58 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-14 18:47 UTC (History)
63 users (show)

Fixed In Version: django 3.2.5, django 3.1.13
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in django. 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. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed: 2021-07-20 18:17:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-06-24 17:58:29 UTC
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.

Comment 4 Tapas Jena 2021-06-30 07:06:18 UTC
Analysis is complete for Ansible and it is found that None of the Ansible components do use the Affected version of DJango i.e. 3.x at this point of time. Hence, marking its as "Not Affected" for Ansible.

Comment 7 Mark Cooper 2021-07-01 13:20:24 UTC
Created python-django tracking bugs for this issue:

Affects: fedora-all [bug 1978288]


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