Read the docs
TI-2020-11997 Aliases CVE-2020-15225GHSA-x7gm-rfgv-w973

Denial of Service vulnerability in django-filter

Priority LOW 36CWE-681Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

EPSS 0.01797 78th percentileScored 2026-11-07
Fix Partial django-filter (carltongibson): 2.4.0django-filter (PyPI): 2.4.0Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
carltongibsondjango-filterbefore 2.4.02.4.0Patch availableCNA
—django-filter (PyPI)before 2.4.02.4.0Patch availableGHSA-x7gm-rfgv-w973
  • django-filter Vendorcarltongibson Affected before 2.4.0 Fixed in 2.4.0 Patch available CNA
  • django-filter (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-x7gm-rfgv-w973

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:django-filter_project:django-filter:*:*:*:*:*:*:*:*before 2.4.0VulnerableDjango-filter Project
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
  • cpe:2.3:a:django-filter_project:django-filter:*:*:*:*:*:*:*:* Versions before 2.4.0 Vulnerable ·Django-filter Project
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA django-filter (carltongibson) Fixed in 2.4.0
  • Fix · GHSA-x7gm-rfgv-w973 django-filter (PyPI) Fixed in 2.4.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 1.2AffectedNo fix yet
Red Hat Ceph Storage 2AffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-15225
  2. 2026-10-03 Alias added: GHSA-x7gm-rfgv-w973

References

Sources