CVE-2021-3281

MEDIUMCVSS 5.3/10EPSS 7.61%

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
5.3/10

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

EPSS Probability
7.61%

93.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DjangoprojectDjango>= 2.2, < 2.2.18
DjangoprojectDjango>= 3.0, < 3.0.12
DjangoprojectDjango>= 3.1, < 3.1.6
FedoraprojectFedora33
NetappSnapcenterAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-3281?
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.
How severe is CVE-2021-3281?
CVE-2021-3281 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 7.61% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3281?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3281?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST