Debian Security Advisory

DLA-2622-1 python-django -- LTS security update

Date Reported:
09 Apr 2021
Affected Packages:
python-django
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2021-28658.
More information:

It was discovered that there was a potential directory traversal issue in Django, a Python-based web development framework.

The vulnerability could have been exploited by maliciously crafted filenames. However, the upload handlers built into Django itself were not affected.

  • CVE-2021-28658

    In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

For Debian 9 Stretch, these problems have been fixed in version 1:1.10.7-2+deb9u12.

We recommend that you upgrade your python-django packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS