CVE-2021-3281

low
Published 2021-03-18 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v2
VIR risk
2.5

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-3281

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-3281.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-202102-18

OS impact

OSVersionStatusFixed in
arch archfixed3.1.6-1
suse slesaffected
debian debianbookwormfixed2:2.2.18-1
debian debianbullseyefixed2:2.2.18-1
debian debianforkyfixed2:2.2.18-1
debian debiansidfixed2:2.2.18-1
debian debiantrixiefixed2:2.2.18-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=2.2,<2.2.182.2.18
python PyPIdjango>=3.1,<3.1.63.1.6
python PyPIdjango>=3.0,<3.0.123.0.12

References

Verify integrity in audit chain (admin only). AS-IS.