CVE-2020-15225

Summary

CVECVE-2020-15225
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-29 21:15:00 UTC
Updated2023-11-07 03:17:00 UTC
Descriptiondjango-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.

Risk And Classification

Problem Types: CWE-681

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Django-filter Project Django-filter All All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All

References

ReferenceSourceLinkTags
CVE-2020-15225 Django Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
FEDORA-2021-1acbee2459 FEDORA lists.fedoraproject.org
Version 2.4 (#1272) · carltongibson/django-filter@340cf7a · GitHub MISC github.com
[SECURITY] Fedora 34 Update: python-django-filter-21.1-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Potential DoS with NumberFilter conversion to integer values. · Advisory · carltongibson/django-filter · GitHub CONFIRM github.com
[SECURITY] Fedora 34 Update: python-django-filter-21.1-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 38 Update: python-django-filter-23.2-1.fc38 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
django-filter · PyPI MISC pypi.org
[SECURITY] Fedora 35 Update: python-django-filter-21.1-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 38 Update: python-django-filter-23.2-1.fc38 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Release Version 2.4.0 · carltongibson/django-filter · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 282013 Fedora Security Update for python (FEDORA-2021-f213fea441)
  • 284075 Fedora Security Update for python (FEDORA-2023-4dee6d0a76)

© CVE.report 2026

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.

Free CVE JSON API cve.report/api

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