Skip to main content
← All vulnerabilities
CVE-2021-35042PYSEC-2021-109BIT-DJANGO-2021-35042GHSA-XPFP-F569-Q3P2

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 w

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.13, 3.2.5
6 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • djangoPyPI

    From 3.1 · fixed in 3.1.13; From 3.2 · fixed in 3.2.5

  • djangoPyPI

    From 3.2a1 · fixed in 3.2.5

  • djangoPyPI

    From 3.0a1 · fixed in 3.1.13

References 12

groups.google.com

docs.djangoproject.com

openwall.com

djangoproject.com

security.netapp.com

lists.fedoraproject.org

GitHub · LUUANHDUC/CVE-2021-35042

GitHub · YouGina/CVE-2021-35042

GitHub · mrlihd/CVE-2021-35042

GitHub · r4vi/CVE-2021-35042

GitHub · vutiendat323/INT14107_CVE-2021-35042

GitHub · zer0qs/CVE-2021-35042