CVE-2021-31542

I

n 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.

References
Link Resource
http://www.openwall.com/lists/oss-security/2021/05/04/3 Mailing List Patch Third Party Advisory
https://docs.djangoproject.com/en/3.2/releases/security/ Patch Vendor Advisory
https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48
https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007
https://groups.google.com/forum/#%21forum/django-announce
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html Mailing List Third Party Advisory
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://security.netapp.com/advisory/ntap-20210618-0001/ Third Party Advisory
https://www.djangoproject.com/weblog/2021/may/04/security-releases/ Release Notes Vendor Advisory
http://www.openwall.com/lists/oss-security/2021/05/04/3 Mailing List Patch Third Party Advisory
https://docs.djangoproject.com/en/3.2/releases/security/ Patch Vendor Advisory
https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48
https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007
https://groups.google.com/forum/#%21forum/django-announce
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html Mailing List Third Party Advisory
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://security.netapp.com/advisory/ntap-20210618-0001/ Third Party Advisory
https://www.djangoproject.com/weblog/2021/may/04/security-releases/ Release Notes Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

History

21 Nov 2024, 06:05

Type Values Removed Values Added
References () http://www.openwall.com/lists/oss-security/2021/05/04/3 - Mailing List, Patch, Third Party Advisory () http://www.openwall.com/lists/oss-security/2021/05/04/3 - Mailing List, Patch, Third Party Advisory
References () https://docs.djangoproject.com/en/3.2/releases/security/ - Patch, Vendor Advisory () https://docs.djangoproject.com/en/3.2/releases/security/ - Patch, Vendor Advisory
References () https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d - () https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d -
References () https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48 - () https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48 -
References () https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007 - () https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007 -
References () https://groups.google.com/forum/#%21forum/django-announce - () https://groups.google.com/forum/#%21forum/django-announce -
References () https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html - Mailing List, Third Party Advisory
References () 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/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ -
References () https://security.netapp.com/advisory/ntap-20210618-0001/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20210618-0001/ - Third Party Advisory
References () https://www.djangoproject.com/weblog/2021/may/04/security-releases/ - Release Notes, Vendor Advisory () https://www.djangoproject.com/weblog/2021/may/04/security-releases/ - Release Notes, Vendor Advisory

Information

Published : 2021-05-05 15:15

Updated : 2024-11-21 06:05


NVD link : CVE-2021-31542

Mitre link : CVE-2021-31542

CVE.ORG link : CVE-2021-31542


JSON object : View

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')