CVE-2020-15225

Published on: 04/29/2021 12:00:00 AM UTC

Last Modified on: 04/30/2021 12:49:00 PM UTC

CVE-2020-15225 - advisory for GHSA-x7gm-rfgv-w973

Source: Mitre Source: Nist Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Certain versions of Django-filter from Carltongibson contain the following vulnerability:

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.

  • CVE-2020-15225 has been assigned by URL Logo [email protected] to track the vulnerability
  • Affected Vendor/Software: URL Logo carltongibson - django-filter version < 2.4.0

CVE References

Description Tags Link
Version 2.4 (#1272) · carltongibson/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b
Potential DoS with NumberFilter conversion to integer values. · Advisory · carltongibson/django-filter · GitHub github.com
text/html
URL Logo CONFIRM github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973
django-filter · PyPI pypi.org
text/html
URL Logo MISC pypi.org/project/django-filter/
Release Version 2.4.0 · carltongibson/django-filter · GitHub github.com
text/html
URL Logo MISC github.com/carltongibson/django-filter/releases/tag/2.4.0

Known Affected Software

Vendor Product Version
Carltongibson django-filter < 2.4.0

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2020-15225 : django-filter is a generic system for filtering Django QuerySets based on user selections. In djan… twitter.com/i/web/status/1… 2021-04-29 20:55:28
Reddit Logo Icon /r/netcve CVE-2020-15225 2021-04-29 21:44:59
© CVE.report 2021 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report