VDB

CVE-2020-15225

CVE-2020-15225 PUBLISHED CVSS 7.5 HIGH

Denial of Service vulnerability in django-filter

Reported by github_m · Published April 29, 2021

django-filter is fixed in 340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b and 2.4.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
django-filterPyPI340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b, 2.4.0
django-filterdjango-filter_project2.4.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
carltongibsondjango-filter< 2.4.0
carltongibsondjango-filter
PyPIdjango-filter0
carltongibsondjango-filter0

Timeline

  • Sep 28, 2020 CVE Published
  • Apr 30, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Mar 13, 2026 CVE Updated
  • Sep 4, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-15225
vulnetix vdb fixes CVE-2020-15225

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-15225/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›