CVE-2021-3281: djangoproject django
Vulnerability summary
CVE-2021-3281 is a medium (CVSS 5.3) vulnerability in djangoproject django. EPSS estimates a 7.61% chance of exploitation in the next 30 days, higher than 94.5% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 02-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
7.61%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
No change 0.00 pp
From 7.61% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse29 products
- ardana-db&distro=SUSE OpenStack Cloud 9< 9.0+git.1611600773.5f1de5f-3.22.1
- ardana-horizon&distro=SUSE OpenStack Cloud 9< 9.0+git.1610491814.38661c2-3.16.1
- ardana-logging&distro=SUSE OpenStack Cloud 9< 9.0+git.1610490922.d5f9813-3.16.1
- ardana-monasca&distro=SUSE OpenStack Cloud 9< 9.0+git.1610547641.d79ecfd-3.22.1
- ardana-opsconsole-ui&distro=SUSE OpenStack Cloud 9< 9.0+git.1611867924.eb82818-4.16.1
Alpine1 product
- py3-django< 3.1.6-r0
Debian1 product
- python-django< 1:1.10.7-2+deb9u10 | < 2:2.2.18-1
Djangoproject1 product
- django≥ 2.2, < 2.2.18 | ≥ 3.0, < 3.0.12 | ≥ 3.1, < 3.1.6
Fedoraproject1 product
- fedoraEOL33
Netapp1 product
PyPI1 product
- django≥ 2.2, < 2.2.18 | ≥ 3.0, < 3.0.12 | ≥ 3.1, < 3.1.6
Ubuntu1 product
- python-django< 1.8.7-1ubuntu5.14 | < 1:1.11.11-1ubuntu1.10 | < 2:2.2.12-1ubuntu0.3 | < 1.6.11-0ubuntu1.3+esm2
8 vendors · 36 products
References
36 links- groups.google.com/forum/X Refsource MISC
- www.djangoproject.com/weblog/2021/feb/01/security-releases/X Refsource CONFIRMARTICLEREPORTVendor Advisory
Show all 36 references
- github.com/django/djangoPACKAGE