ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2021-31542

Details

In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-django
All versions before 1.6.11-0ubuntu1.3+esm3 (fixed in 1.6.11-0ubuntu1.3+esm3)
Ubuntu:Pro:16.04:LTSpython-django
All versions before 1.8.7-1ubuntu5.15+esm1 (fixed in 1.8.7-1ubuntu5.15+esm1)
Ubuntu:18.04:LTSpython-django
All versions before 1:1.11.11-1ubuntu1.13 (fixed in 1:1.11.11-1ubuntu1.13)
Ubuntu:20.04:LTSpython-django
All versions before 2:2.2.12-1ubuntu0.6 (fixed in 2:2.2.12-1ubuntu0.6)

References