VDB

CVE-2020-15225

CVE-2020-15225 PUBLISHED

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.

EPSS 0.23% · 46.7th percentile

Risk Scores

EPSS Score
0.23%
46.7th percentile

Affected Products

VendorProductVersions
Ubuntu:20.04:LTSdjango-filter2.1.0-1, 0
Ubuntu:24.04:LTSdjango-filter23.5-1, 23.4-1, 0
Ubuntu:22.04:LTSdjango-filter0, 2.4.0-1
Ubuntu:16.04:LTSdjango-filter0.11.0-1, 0, 0.9.2-1
Ubuntu:25.10django-filter25.1-1, 0, 25.1-2
Ubuntu:18.04:LTSdjango-filter1.0.4-1, 0, 1.1.0-1

Timeline

  • Sep 28, 2020 CVE Published
  • Apr 30, 2021 EPSS Score
  • Jun 8, 2021 EPSS Score
  • Jul 3, 2021 EPSS Score
  • Sep 3, 2021 EPSS Score
  • Nov 5, 2021 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Mar 9, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • May 10, 2022 EPSS Score
  • Sep 12, 2022 EPSS Score
  • Nov 14, 2022 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›