Vulnerability · Published Apr 6, 2021 · Assigned by mitre

CVE-2021-28658

Medium 5.3

In plain English

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

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)3.8%top 10.0% 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.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-django3.1.8-r0ALPINE-CVE-2021-28658
Alpine:v3.21py3-django3.1.8-r0ALPINE-CVE-2021-28658
Alpine:v3.22py3-django3.1.8-r0ALPINE-CVE-2021-28658
Alpine:v3.23py3-django3.1.8-r0ALPINE-CVE-2021-28658
Alpine:v3.24py3-django3.1.8-r0ALPINE-CVE-2021-28658
Debian:12python-django2:2.2.20-1DEBIAN-CVE-2021-28658
Debian:13python-django2:2.2.20-1DEBIAN-CVE-2021-28658
Debian:14python-django2:2.2.20-1DEBIAN-CVE-2021-28658
PyPIdjango2.2.20, 3.0.14, 3.1.8PYSEC-2021-6
PyPIdjango3.1.8GHSA-xgxc-v2qg-chmh
PyPIdjango3.0.14GHSA-xgxc-v2qg-chmh
PyPIdjango2.2.20GHSA-xgxc-v2qg-chmh

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References