CVE-2020-15225
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | django-filter | 2.1.0-1, 0 |
| Ubuntu:24.04:LTS | django-filter | 23.5-1, 23.4-1, 0 |
| Ubuntu:22.04:LTS | django-filter | 0, 2.4.0-1 |
| Ubuntu:16.04:LTS | django-filter | 0.11.0-1, 0, 0.9.2-1 |
| Ubuntu:25.10 | django-filter | 25.1-1, 0, 25.1-2 |
| Ubuntu:18.04:LTS | django-filter | 1.0.4-1, 0, 1.1.0-1 |
Exploit Intelligence
- https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973 (circl)
- https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b (circl)
- https://github.com/carltongibson/django-filter/releases/tag/2.4.0 (circl)
- https://pypi.org/project/django-filter/ (circl)
- https://security.netapp.com/advisory/ntap-20210604-0010/ (circl)
- FEDORA-2021-f213fea441 (circl)
- FEDORA-2021-1acbee2459 (circl)
- FEDORA-2023-4dee6d0a76 (circl)
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
References
- https://ubuntu.com/security/CVE-2020-15225 third-party-advisory
- https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973 third-party-advisory
- https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b third-party-advisory
- https://pypi.org/project/django-filter/ third-party-advisory
- https://github.com/carltongibson/django-filter/releases/tag/2.4.0 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-15225 third-party-advisory