CVEvulnerability

CVE-2021-3281

5.3 MEDIUM Published 2021-02-02 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-02-02
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
CWE-22

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.

Affected configurations

• djangoproject django (>= 2.2 < 2.2.18) • djangoproject django (>= 3.0 < 3.0.12) • djangoproject django (>= 3.1 < 3.1.6) • fedoraproject fedora 33 • netapp snapcenter

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References