cve.bz

CVE-2020-15225

6.5 mediumEPSS 1.8%Fix available

Medium (6.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in django-filter 2.4.0.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-681 Incorrect Conversion between Numeric Types
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15225 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15225?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15225?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15225 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
django-filter_project:django-filterbefore 2.4.0
fedoraproject:fedora34
fedoraproject:fedora35

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x7gm-rfgv-w973PyPIdjango-filter<2.4.02.4.0
PYSEC-2021-64PyPIdjango-filter<2.4.02.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14django-filter2.4.0-1DEBIAN-CVE-2020-15225
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moredjango-filterno fix listedUBUNTU-CVE-2020-15225

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 1.2python-django-filterAffected
Red Hat Ceph Storage 2calamari-serverOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15225.

References

Check your stackJSON