CVE catalog

CVE-2020-15225

django-filter: CVE-2020-15225

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.80% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandjango-filtersid25.1-4fixed
Debiandjango-filterforky25.1-4fixed
Debiandjango-filtertrixie25.1-2fixed
Debiandjango-filterbookworm23.1-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandjango-filtersourcesid2.4.0-1not yet assignedNot reportedNot reported
Debiandjango-filtersourceforky2.4.0-1not yet assignedNot reportedNot reported
Debiandjango-filtersourcetrixie2.4.0-1not yet assignedNot reportedNot reported
Debiandjango-filtersourcebookworm2.4.0-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [django-filter]

    Details (2)
    • 23.1-1 · all · bookworm

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · bookworm; dsa · django-filter · debian · 12

    • 23.1-1 · all · bookworm

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · bookworm; dsa · django-filter · debian · 12

  • Source package: [django-filter]

    Details (2)
    • 23.1-1 · all · bookworm

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · bookworm; dsa · django-filter · debian · 12

    • 23.1-1 · all · bookworm

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · bookworm; dsa · django-filter · debian · 12

[Debian 13 (Trixie)]

  • Source package: [django-filter]

    Details (2)
    • 25.1-2 · all · trixie

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · 13

    • 25.1-2 · all · trixie

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · 13

  • Source package: [django-filter]

    Details (2)
    • 25.1-2 · all · trixie

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · 13

    • 25.1-2 · all · trixie

      Fixed · Fixed: 2.4.0-1

      dsa · django-filter · debian · 13

Observed:

References