CVE & CISA-KEV Catalog

CVE-2021-3281

MEDIUMEPSS 94th pctl
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
python-djangoDebian
Fixed in:2:2.2.18-1CVE-2021-3281
Fixed in:2:2.2.18-1CVE-2021-3281
Fixed in:2:2.2.18-1CVE-2021-3281
Fixed in:2:2.2.18-1CVE-2021-3281
python-djangoUbuntu
Fixed in:1.6.11-0ubuntu1.3+esm2USN-4715-2
Fixed in:1.8.7-1ubuntu5.14USN-4715-1
Fixed in:1:1.11.11-1ubuntu1.10USN-4715-1
Fixed in:2:2.2.12-1ubuntu0.3USN-4715-1
python3-djangoUbuntu
Fixed in:1.8.7-1ubuntu5.14USN-4715-1
Fixed in:1:1.11.11-1ubuntu1.10USN-4715-1
Fixed in:2:2.2.12-1ubuntu0.3USN-4715-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

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

Exploit Intelligence

7.61%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2021-3281
CVE-2021-3281 severity badge

Markdown

[![CVE-2021-3281](https://tridentstack.com/cve/badge/CVE-2021-3281.svg)](https://tridentstack.com/cve/CVE-2021-3281)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-3281"><img src="https://tridentstack.com/cve/badge/CVE-2021-3281.svg" alt="CVE-2021-3281"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.