CVE-2021-31542
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
http://www.openwall.com/lists/oss-security/2021/05/04/3
CVE, MITRE
Mailing List
Patch
Third Party Advisory
https://docs.djangoproject.com/en/3.2/releases/security/
CVE, MITRE
Patch
Vendor Advisory
https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
CVE, MITRE
https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48
CVE, MITRE
https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007
CVE, MITRE
https://groups.google.com/forum/#%21forum/django-announce
CVE, MITRE
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html
CVE, MITRE
Mailing List
Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
CVE, MITRE
https://security.netapp.com/advisory/ntap-20210618-0001/
CVE, MITRE
Third Party Advisory
https://www.djangoproject.com/weblog/2021/may/04/security-releases/
CVE, MITRE
Release Notes
Vendor Advisory
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
NIST
Change History
12 change records found show changes
CVE Modified by CVE 11/21/2024 1:05:52 AM
Action
Type
Old Value
New Value
Added
Reference
http://www.openwall.com/lists/oss-security/2021/05/04/3
Added
Reference
https://docs.djangoproject.com/en/3.2/releases/security/
Added
Reference
https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
Added
Reference
https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48
Added
Reference
https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007
Added
Reference
https://groups.google.com/forum/#%21forum/django-announce
Added
Reference
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
Added
Reference
https://security.netapp.com/advisory/ntap-20210618-0001/
Added
Reference
https://www.djangoproject.com/weblog/2021/may/04/security-releases/
CVE Modified by MITRE 5/14/2024 5:00:52 AM
Action
Type
Old Value
New Value
CVE Modified by MITRE 12/07/2023 5:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
MITRE https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d [No types assigned]
Added
Reference
MITRE https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48 [No types assigned]
Added
Reference
MITRE https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007 [No types assigned]
CVE Modified by MITRE 11/06/2023 10:34:58 PM
Action
Type
Old Value
New Value
Added
Reference
MITRE https://groups.google.com/forum/#%21forum/django-announce [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ [No types assigned]
Removed
Reference
MITRE https://groups.google.com/forum/#!forum/django-announce
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
CWE Remap by NIST 6/28/2022 10:11:45 AM
Action
Type
Old Value
New Value
Changed
CWE
CWE-434
CWE-22
Modified Analysis by NIST 2/25/2022 1:40:50 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ Mailing List, Third Party Advisory
CVE Modified by MITRE 2/10/2022 10:15:06 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ [No Types Assigned]
Modified Analysis by NIST 1/01/2022 1:05:35 PM
Action
Type
Old Value
New Value
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected] /message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ Mailing List, Third Party Advisory
Changed
Reference Type
https://security.netapp.com/advisory/ntap-20210618-0001/ No Types Assigned
https://security.netapp.com/advisory/ntap-20210618-0001/ Third Party Advisory
CVE Modified by MITRE 6/18/2021 6:15:08 AM
Action
Type
Old Value
New Value
Added
Reference
https://security.netapp.com/advisory/ntap-20210618-0001/ [No Types Assigned]
Initial Analysis by NIST 5/13/2021 9:41:35 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
Added
CWE
NIST CWE-434
Added
CPE Configuration
OR
*cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 2.2 up to (excluding) 2.2.21
*cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 3.1.9
*cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.2 up to (excluding) 3.2.1
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Changed
Reference Type
http://www.openwall.com/lists/oss-security/2021/05/04/3 No Types Assigned
http://www.openwall.com/lists/oss-security/2021/05/04/3 Mailing List, Patch, Third Party Advisory
Changed
Reference Type
https://docs.djangoproject.com/en/3.2/releases/security/ No Types Assigned
https://docs.djangoproject.com/en/3.2/releases/security/ Patch, Vendor Advisory
Changed
Reference Type
https://groups.google.com/forum/#!forum/django-announce No Types Assigned
https://groups.google.com/forum/#!forum/django-announce Release Notes, Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ Third Party Advisory
Changed
Reference Type
https://www.djangoproject.com/weblog/2021/may/04/security-releases/ No Types Assigned
https://www.djangoproject.com/weblog/2021/may/04/security-releases/ Release Notes, Vendor Advisory
CVE Modified by MITRE 5/12/2021 4:15:10 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ [No Types Assigned]
CVE Modified by MITRE 5/06/2021 10:15:08 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2021-31542 NVD
Published Date: 05/05/2021 NVD
Last Modified: 11/21/2024
Source: MITRE