django1/django/db
Simon Charette 0bd57a879a [3.1.x] Fixed CVE-2021-35042 -- Prevented SQL injection in QuerySet.order_by().
Regression introduced in 513948735b
by marking the raw SQL column reference feature for deprecation in
Django 4.0 while lifting the column format validation.

In retrospective the validation should have been kept around and the
user should have been pointed at using RawSQL expressions during the
deprecation period.

The main branch is not affected because the raw SQL column reference
support has been removed in 06eec31970
per the 4.0 deprecation life cycle.

Thanks Joel Saunders for the report.
2021-07-01 08:36:17 +02:00
..
backends [3.1.x] Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' database. 2021-02-02 21:36:06 +01:00
migrations [3.1.x] Reverted "Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file." 2020-07-22 07:04:52 +02:00
models [3.1.x] Fixed CVE-2021-35042 -- Prevented SQL injection in QuerySet.order_by(). 2021-07-01 08:36:17 +02:00
__init__.py Removed an outdated comment on DefaultConnectionProxy. 2019-02-20 11:30:51 -05:00
transaction.py Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
utils.py Fixed #25388 -- Added an option to allow disabling of migrations during test database creation. 2019-11-20 20:42:38 +01:00