PyPI/django CVE-2021-31542: unknown, EPSS 5.33%
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.
Action: Upgrade django to 2.2.21 or later.
pip install django==2.2.21pip install django==3.1.9pip install django==3.2.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 2.2 | 2.2.21 | - |
| 3.1 | 3.1.9 | - |
| 3.2 | 3.2.1 | - |
Fixed versions
| 2.2.21 | 3.1.9 | 3.2.1 |
Sources
- osv: PYSEC-2021-7
- https://www.djangoproject.com/weblog/2021/may/04/security-releases/
- https://docs.djangoproject.com/en/3.2/releases/security/
- http://www.openwall.com/lists/oss-security/2021/05/04/3
- https://groups.google.com/forum/#!forum/django-announce
- https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- https://github.com/advisories/GHSA-rxjp-mfm9-w4wr
CVE-2021-31542 · published · modified · JSON