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
Author | Note |
---|---|
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
Status
Package | Release | Status |
---|---|---|
python-django Launchpad, Ubuntu, Debian |
impish |
Not vulnerable
(code not present)
|
jammy |
Not vulnerable
(code not present)
|
|
bionic |
Not vulnerable
(code not present)
|
|
focal |
Not vulnerable
(code not present)
|
|
groovy |
Not vulnerable
(code not present)
|
|
hirsute |
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)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35042
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases/
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://www.openwall.com/lists/oss-security/2021/07/02/2
- https://groups.google.com/forum/#!forum/django-announce
- NVD
- Launchpad
- Debian