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.
Published: 2021-02-02
Score: 5.3 Medium
EPSS: 41.5% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2540-1 python-django security update
Debian DLA Debian DLA DLA-3164-1 python-django security update
Github GHSA Github GHSA GHSA-fvgf-6h6h-3322 Django Directory Traversal via archive.extract
Ubuntu USN Ubuntu USN USN-4715-1 Django vulnerability
Ubuntu USN Ubuntu USN USN-4715-2 Django vulnerability
History

No history.

Subscriptions

Djangoproject Django
Fedoraproject Fedora
Netapp Snapcenter
Redhat Ansible Automation Platform Openstack
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T16:53:17.221Z

Reserved: 2021-01-22T00:00:00.000Z

Link: CVE-2021-3281

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-02-02T07:15:14.020

Modified: 2024-11-21T06:21:12.677

Link: CVE-2021-3281

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-02-01T10:00:00Z

Links: CVE-2021-3281 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses