logo

CVE-2021-3281 django

Package

Manager: pip
Name: django
Vulnerable Version: >=2.2 <2.2.18 || >=3.1 <3.1.6 || >=3.0 <3.0.12

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.33479 pctl0.96795

Details

Django Directory Traversal via archive.extract 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.

Metadata

Created: 2021-03-18T20:29:49Z
Modified: 2024-09-20T15:36:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-fvgf-6h6h-3322/GHSA-fvgf-6h6h-3322.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-fvgf-6h6h-3322
Finding: F063
Auto approve: 1