Vulnerability · Published May 5, 2021 · Assigned by mitre

CVE-2021-31542

High 7.5

In plain English

A high-severity security flaw in the python-django package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.3% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)5.3%top 7.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-django2:2.2.21-1DEBIAN-CVE-2021-31542
Debian:13python-django2:2.2.21-1DEBIAN-CVE-2021-31542
Debian:14python-django2:2.2.21-1DEBIAN-CVE-2021-31542
PyPIdjango2.2.21GHSA-rxjp-mfm9-w4wr
PyPIdjango2.2.21, 3.1.9, 3.2.1PYSEC-2021-7
PyPIdjango3.1.9GHSA-rxjp-mfm9-w4wr
PyPIdjango3.2.1GHSA-rxjp-mfm9-w4wr

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References