cve.bz

CVE-2021-28658

5.3 mediumEPSS 3.8%

Medium (5.3). EPSS 3.8% chance of exploitation in the next 30 days. Fixed in django 2.2.20, 3.0.14, 3.1.8.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
3.8% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xgxc-v2qg-chmhPyPIdjango>=2.2a1 <2.2.202.2.20
GHSA-xgxc-v2qg-chmhPyPIdjango>=3.0a1 <3.0.143.0.14
GHSA-xgxc-v2qg-chmhPyPIdjango>=3.1a1 <3.1.83.1.8
PYSEC-2021-6PyPIdjango>=2.2 <2.2.20
>=3.0 <3.0.14
>=3.1 <3.1.8
2.2.20, 3.0.14, 3.1.8

References

Check your stackJSON