Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2021-35042

Published: 1 July 2021

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.

Notes

AuthorNote
sbeattie
all django 2.x versions are not affected because deprecation
changes that removed the column format validation were not applied to
the 2.x versions.
introduced by 513948735b ("Fixed #31426 -- Added proper field
validation to QuerySet.order_by().") upstream

Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
python-django
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(code not present)
focal Not vulnerable
(code not present)
groovy Not vulnerable
(code not present)
hirsute Not vulnerable
(code not present)
impish Not vulnerable
(code not present)
jammy Not vulnerable
(code not present)
trusty Not vulnerable
(code not present)
upstream Not vulnerable
(debian: Vulnerable code introduced in 3.1)
xenial Not vulnerable
(code not present)