Advisory

PYSEC-2021-109

Also known as: BIT-django-2021-35042, CVE-2021-35042, GHSA-xpfp-f569-q3p2

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-07-02 10:15 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 3.1, fixed 3.1.13, introduced 3.2, fixed 3.2.5 (ecosystem)

Fixed versions

3.1.13, 3.2.5

Fix

  • Fixed version 3.1.13
    pip install --upgrade django==3.1.13
  • Fixed version 3.2.5
    pip install --upgrade django==3.2.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences