Affected versions
Version ranges need review.
PyPIdjango
- Affected versions
- >= 2.2, < 2.2.21
- Fixed version
- 2.2.21
PyPIdjango
- Affected versions
- >= 3.0, < 3.1.9
- Fixed version
- 3.1.9
PyPIdjango
- Affected versions
- >=2.2 <2.2.21 || >=3.1 <3.1.9 || >=3.2 <3.2.1 || =2.2 || =2.2.1 || =2.2.2 || =2.2.3 || =2.2.4 || =2.2.5 || =2.2.6 || =2.2.7 || =2.2.8 || =2.2.9 || =2.2.10 || =2.2.11 || =2.2.12 || =2.2.13 || =2.2.14 || =2.2.15 || =2.2.16 || =2.2.17 || =2.2.18 || =2.2.19 || =2.2.20 || =3.1 || =3.1.1 || =3.1.2 || =3.1.3 || =3.1.4 || =3.1.5 || =3.1.6 || =3.1.7 || =3.1.8 || =3.2
- Fixed version
- 2.2.21 · 3.1.9 · 3.2.1
PyPIdjango
- Affected versions
- >= 3.2, < 3.2.1
- Fixed version
- 3.2.1
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.
Links
- http://www.openwall.com/lists/oss-security/2021/05/04/3
- https://docs.djangoproject.com/en/3.2/releases/security
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://github.com/advisories/GHSA-rxjp-mfm9-w4wr
- https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
- https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48
- https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-7.yaml
- https://groups.google.com/forum/#!forum/django-announce
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- https://nvd.nist.gov/vuln/detail/CVE-2021-31542
- https://security.netapp.com/advisory/ntap-20210618-0001
- https://www.djangoproject.com/weblog/2021/may/04/security-releases
- https://www.djangoproject.com/weblog/2021/may/04/security-releases/
Credits
- tdunlap607

