CVE-2020-15225
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
django-filter is a generic system for filtering Django QuerySets based on user selections. In django-filter before version 2.4.0, automatically generated `NumberFilter` instances, whose value was later converted to an integer, were subject to potential DoS from maliciously input using exponential format with sufficiently large exponents. Version 2.4.0+ applies a `MaxValueValidator` with a a default `limit_value` of 1e50 to the form field used by `NumberFilter` instances. In addition, `NumberFilter` implements the new `get_max_validator()` which should return a configured validator instance to customise the limit, or else `None` to disable the additional validation. Users may manually apply an equivalent validator if they are not able to upgrade.
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:L/UI:N/S:U/C:N/I:N/A:H
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:L/Au:S/C:N/I:N/A:P)
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)
https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b
CVE, GitHub, Inc.
Patch
Third Party Advisory
https://github.com/carltongibson/django-filter/releases/tag/2.4.0
CVE, GitHub, Inc.
Release Notes
Third Party Advisory
https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973
CVE, GitHub, Inc.
Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/
CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/
CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/
CVE, GitHub, Inc.
https://pypi.org/project/django-filter/
CVE, GitHub, Inc.
Product
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210604-0010/
CVE, GitHub, Inc.
Third Party Advisory
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-681
Incorrect Conversion between Numeric Types
NIST
GitHub, Inc.
Change History
14 change records found show changes
CVE Modified by CVE 11/21/2024 12:05:07 AM
Action
Type
Old Value
New Value
Added
Reference
https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b
Added
Reference
https://github.com/carltongibson/django-filter/releases/tag/2.4.0
Added
Reference
https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/
Added
Reference
https://pypi.org/project/django-filter/
Added
Reference
https://security.netapp.com/advisory/ntap-20210604-0010/
CVE Modified by GitHub, Inc. 5/14/2024 2:30:09 AM
Action
Type
Old Value
New Value
CVE Modified by GitHub, Inc. 11/06/2023 10:17:27 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/
CVE Modified by GitHub, Inc. 6/14/2023 11:15:09 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/ [No Types Assigned]
Modified Analysis by NIST 11/30/2021 4:48:06 PM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-681
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc. 11/17/2021 5:17:08 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ [No Types Assigned]
CVE Modified by GitHub, Inc. 11/09/2021 8:15:53 PM
Action
Type
Old Value
New Value
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ [Mailing List]
Modified Analysis by NIST 11/05/2021 11:02:08 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*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/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ Mailing List
CVE Modified by GitHub, Inc. 10/29/2021 10:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/ [No Types Assigned]
CVE Modified by GitHub, Inc. 10/27/2021 12:15:11 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/ [No Types Assigned]
Modified Analysis by NIST 6/07/2021 4:58:33 PM
Action
Type
Old Value
New Value
Changed
Reference Type
https://security.netapp.com/advisory/ntap-20210604-0010/ No Types Assigned
https://security.netapp.com/advisory/ntap-20210604-0010/ Third Party Advisory
CVE Modified by GitHub, Inc. 6/04/2021 6:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
https://security.netapp.com/advisory/ntap-20210604-0010/ [No Types Assigned]
Reanalysis by NIST 6/02/2021 11:59:40 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Removed
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added
CVSS V2
NIST (AV:N/AC:L/Au:S/C:N/I:N/A:P)
Removed
CVSS V2
NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
Initial Analysis by NIST 5/10/2021 1:55:51 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
Added
CPE Configuration
OR
*cpe:2.3:a:django-filter_project:django-filter:*:*:*:*:*:*:*:* versions up to (excluding) 2.4.0
Changed
Reference Type
https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b No Types Assigned
https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b Patch, Third Party Advisory
Changed
Reference Type
https://github.com/carltongibson/django-filter/releases/tag/2.4.0 No Types Assigned
https://github.com/carltongibson/django-filter/releases/tag/2.4.0 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973 No Types Assigned
https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973 Third Party Advisory
Changed
Reference Type
https://pypi.org/project/django-filter/ No Types Assigned
https://pypi.org/project/django-filter/ Product, Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2020-15225 NVD
Published Date: 04/29/2021 NVD
Last Modified: 11/21/2024
Source: GitHub, Inc.