PT-2021-3508

CVE-2021-35042

·

تاريخ النشر

2021-07-01

·

تاريخ التحديث

2026-10-31

الوصف من

CVSS 2.0
10
حرجة
المقاييسAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Django versions 3.1.x through 3.1.12 Django versions 3.2.x through 3.2.4
Description The issue is related to the QuerySet.order by() function in the Django web application platform, which does not properly protect the SQL query structure. This allows for SQL injection if the order by parameter is based on untrusted input from a client. The exploitation of this issue may enable a remote attacker to execute arbitrary commands.
Recommendations For Django versions 3.1.x through 3.1.12, update to version 3.1.13 or later. For Django versions 3.2.x through 3.2.4, update to version 3.2.5 or later. As a temporary workaround, consider validating and sanitizing any untrusted input used in the order by parameter to prevent SQL injection attacks. Restrict access to the QuerySet.order by() function to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-XPFP-F569-Q3P2
ALT-PU-2021-2575
ALT-PU-2021-2770
BIT-DJANGO-2021-35042
CLEANSTART-2025-SP30055
MGASA-2021-0356
OPENSUSE-SU-2024:11205-1
OPENSUSE-SU-2024:13887-1
OPENSUSE-SU-2024:14208-1
OPENSUSE-SU-2026:10005-1
OPENSUSE-SU-2026:11235-1
OPENSUSE-SU-2026:11248-1
OPENSUSE-SU-2026:11270-1
PYSEC-2021-109
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾