Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3281

published

django: Potential directory-traversal via archive.extract()

Title from Red Hat VEX

Published
02 Feb 2021, 06:16:28 UTC
Updated
03 Aug 2024, 16:53:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Alpine Linux edge py3-django Fixed 3.1.6-r0 Package fix record
Debian buster python-django Advisory build 1:1.11.29-1+deb10u2 DLA-3164-1
Ubuntu bionic python-django Advisory build 1:1.11.11-1ubuntu1.10 USN-4715-1
Alpine Linux v3.13 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.14 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.15 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.16 py3-django Fixed 3.1.6-r0 Package fix record
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.17 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.18 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.19 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.20 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.21 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.22 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.23 py3-django Fixed 3.1.6-r0 Package fix record
Alpine Linux v3.24 py3-django Fixed 3.1.6-r0 Package fix record
Debian stretch python-django Advisory build 1:1.10.7-2+deb9u10 DLA-2540-1
Ubuntu bionic python-django-common Advisory build 1:1.11.11-1ubuntu1.10 USN-4715-1
Ubuntu bionic python3-django Advisory build 1:1.11.11-1ubuntu1.10 USN-4715-1
Ubuntu esm python-django Advisory build 1.6.11-0ubuntu1.3+esm2 USN-4715-2
Ubuntu focal python-django Advisory build 2:2.2.12-1ubuntu0.3 USN-4715-1
Ubuntu focal python3-django Advisory build 2:2.2.12-1ubuntu0.3 USN-4715-1
Ubuntu xenial python-django Advisory build 1.8.7-1ubuntu5.14 USN-4715-1
Ubuntu xenial python-django-common Advisory build 1.8.7-1ubuntu5.14 USN-4715-1
Ubuntu xenial python3-django Advisory build 1.8.7-1ubuntu5.14 USN-4715-1

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

19

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

5

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0730de9805f977917db3c65919c3b9b8b45ac8fec63e15347644ed8db5434bd5
Ingested
23 Sep 2026, 07:55:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected