CVE-2021-3281

Published: 01 February 2021

In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.

Priority

Medium

CVSS 3 base score: 5.3

Status

Package Release Status
python-django
Launchpad, Ubuntu, Debian
Upstream
Released (2.2.18)
Ubuntu 21.04 (Hirsute Hippo)
Released (2:2.2.18-1)
Ubuntu 20.10 (Groovy Gorilla)
Released (2:2.2.16-1ubuntu0.1)
Ubuntu 20.04 LTS (Focal Fossa)
Released (2:2.2.12-1ubuntu0.3)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (1:1.11.11-1ubuntu1.10)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (1.8.7-1ubuntu5.14)
Ubuntu 14.04 ESM (Trusty Tahr)
Released (1.6.11-0ubuntu1.3+esm2)