django
Affected
- introduced
2.2, fixed2.2.21(ecosystem)
Fixed versions
2.2.21
Fix
- Fixed version
2.2.21pip install --upgrade django==2.2.21
Advisory
Also known as: BIT-django-2021-31542, CVE-2021-31542, PYSEC-2021-7
Path Traversal in Django
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.
High Basis: The source's own band: HIGH
2.2, fixed 2.2.21 (ecosystem)2.2.21
2.2.21pip install --upgrade django==2.2.213.0, fixed 3.1.9 (ecosystem)3.1.9
3.1.9pip install --upgrade django==3.1.93.2, fixed 3.2.1 (ecosystem)3.2.1
3.2.1pip install --upgrade django==3.2.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0