mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
18 lines
577 B
Plaintext
18 lines
577 B
Plaintext
|
==========================
|
||
|
Django 3.1.9 release notes
|
||
|
==========================
|
||
|
|
||
|
*May 4, 2021*
|
||
|
|
||
|
Django 3.1.9 fixes a security issue in 3.1.8.
|
||
|
|
||
|
CVE-2021-31542: Potential directory-traversal via uploaded files
|
||
|
================================================================
|
||
|
|
||
|
``MultiPartParser``, ``UploadedFile``, and ``FieldFile`` allowed
|
||
|
directory-traversal via uploaded files with suitably crafted file names.
|
||
|
|
||
|
In order to mitigate this risk, stricter basename and path sanitation is now
|
||
|
applied. Specifically, empty file names and paths with dot segments will be
|
||
|
rejected.
|