CVE-2020-15225
Denial of Service vulnerability in django-filter
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Timeline
ID reserved
By GitHub_M
- 10 months later
· 10 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.8% · top 21% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
- affected < 2.4.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIdjango-filterGHSA-x7gm-rfgv-w973 (opens in a new tab)
References (8)
- https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973 (opens in a new tab)x_transferred
- https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b (opens in a new tab)x_transferred
- https://github.com/carltongibson/django-filter/releases/tag/2.4.0 (opens in a new tab)x_transferred
- https://pypi.org/project/django-filter/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20210604-0010/ (opens in a new tab)x_transferred
- FEDORA-2021-f213fea441 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-1acbee2459 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-4dee6d0a76 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x7gm-rfgv-w973 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-15225)Record last updated .