Home / carltongibson / django-filter / CVE-2020-15225
CVE-2020-15225: is it exploited, and which versions of carltongibson django-filter are affected and fixed?
CVE-2020-15225 is an incorrect numeric conversion vulnerability in carltongibson django-filter. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: django-filter before 2.4.0 (GitHub advisory GHSA-x7gm-rfgv-w973). Fixed in 2.4.0 (GitHub advisory GHSA-x7gm-rfgv-w973). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2020-15225?
Denial of Service vulnerability in django-filter
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.
From the CVE record by GitHub_M, last updated August 4, 2024, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| carltongibson | django-filter | < 2.4.0 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | django-filter | < 2.4.0 | 2.4.0 | GHSA-x7gm-rfgv-w973 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 16, 2024. Summary: Potential DoS with NumberFilter conversion to integer values..
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| django-filter project | django-filter | before 2.4.0 | application |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:56 UTC.
How severe is CVE-2020-15225?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-15225 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.80% probability of exploitation activity in the next 30 days, percentile 79.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-681 Incorrect Conversion between Numeric Types
Where are the vendor advisories and references?
- https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973
- https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b
- https://github.com/carltongibson/django-filter/releases/tag/2.4.0
- https://pypi.org/project/django-filter/
- https://security.netapp.com/advisory/ntap-20210604-0010/
- FEDORA-2021-f213fea441 vendor-advisory
- FEDORA-2021-1acbee2459 vendor-advisory
- FEDORA-2023-4dee6d0a76 vendor-advisory
When was it published, and where is the official record?
- Reserved
- June 25, 2020
- Published
- April 29, 2021, 00:00 UTC
- CVE record updated
- August 4, 2024, 13:08 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 02:56 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-15225
Is CVE-2020-15225 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of carltongibson django-filter are affected by CVE-2020-15225?
django-filter before 2.4.0, per the GitHub advisory GHSA-x7gm-rfgv-w973. The tables above give every range the sources list.
Which version fixes CVE-2020-15225?
2.4.0, per the GitHub advisory GHSA-x7gm-rfgv-w973. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-15225?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-15225?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.