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?
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
