SQL Injection in Djangoproject Django

CVE-2021-35042

Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.444, 98.8th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

9 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 29 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon, bakery312/Vulhub-Reproduce, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References