CVE-2021-3281
Last modified
CVE-2021-3281 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 7.61% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 | All versions |
References
- https://docs.djangoproject.com/en/3.1/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210226-0004/Third Party Advisory
- https://docs.djangoproject.com/en/3.1/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210226-0004/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3281?
How severe is CVE-2021-3281?
How do I fix CVE-2021-3281?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-32804The npm package "tar" (aka node-tar) before versions 6.1.1, …8.1
- CVE-2021-32805Flask-AppBuilder is an application development framework, bu…6.1
- CVE-2021-32806Products.isurlinportal is a replacement for isURLInPortal me…6.1
- CVE-2021-32807The module `AccessControl` defines security policies for Pyt…7.2
- CVE-2021-32808ckeditor is an open source WYSIWYG HTML editor with rich con…5.4
- CVE-2021-32809ckeditor is an open source WYSIWYG HTML editor with rich con…5.4
- CVE-2021-32810crossbeam-deque is a package of work-stealing deques for bui…9.8
- CVE-2021-32811Zope is an open-source web application server. Zope versions…7.2
- CVE-2021-32812Monkshu is an enterprise application server for mobile apps …6.1
- CVE-2021-32813Traefik is an HTTP reverse proxy and load balancer. Prior to…8.1
- CVE-2021-32814Skytable is a NoSQL database with automated snapshots and TL…8.1
- CVE-2021-32815Exiv2 is a command-line utility and C++ library for reading,…5.5
Are you affected by CVE-2021-3281?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
