{"cve":"CVE-2020-15225","nvd":{"published":"2021-04-29T21:15:08.490","modified":"2026-06-17T02:56:18.477","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-681"],"references":["https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b","https://github.com/carltongibson/django-filter/releases/tag/2.4.0","https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/"],"products":["django-filter_project:django-filter","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2020-15225","score":0.01797,"percentile":0.78455,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x7gm-rfgv-w973","url":"https://osv.dev/vulnerability/GHSA-x7gm-rfgv-w973","summary":"Potential DoS with NumberFilter conversion to integer values.","modified":"2026-07-08T06:27:58.269813345Z","packages":[{"ecosystem":"PyPI","name":"django-filter","purl":"pkg:pypi/django-filter","ranges":["<2.4.0"],"fixed":["2.4.0"]}]},{"id":"PYSEC-2021-64","url":"https://osv.dev/vulnerability/PYSEC-2021-64","summary":"","modified":"2023-11-08T04:02:34.315369Z","packages":[{"ecosystem":"PyPI","name":"django-filter","purl":"pkg:pypi/django-filter","ranges":["<2.4.0"],"fixed":["2.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}