CVE-2021-31542

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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 88%
VendorProductVersion
djangoprojectdjango
2.2 ≤
𝑥
< 2.2.21
djangoprojectdjango
3.1 ≤
𝑥
< 3.1.9
djangoprojectdjango
3.2 ≤
𝑥
< 3.2.1
debiandebian_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-django
bullseye (security)
2:2.2.28-1~deb11u2
fixed
bullseye
2:2.2.28-1~deb11u2
fixed
bookworm
3:3.2.19-1+deb12u1
fixed
bookworm (security)
3:3.2.19-1+deb12u1
fixed
sid
3:4.2.16-1
fixed
trixie
3:4.2.16-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-django
jammy
Fixed 2:2.2.20-1ubuntu0.1
released
impish
Fixed 2:2.2.20-1ubuntu0.1
released
hirsute
Fixed 2:2.2.20-1ubuntu0.1
released
groovy
Fixed 2:2.2.16-1ubuntu0.4
released
focal
Fixed 2:2.2.12-1ubuntu0.6
released
bionic
Fixed 1:1.11.11-1ubuntu1.13
released
xenial
Fixed 1.8.7-1ubuntu5.15+esm1
released
trusty
Fixed 1.6.11-0ubuntu1.3+esm3
released
References