Vulnerability in Carltongibson Django-Filter
CVE-2020-15225
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.018 (77.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 77.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000
Affected products
- Carltongibson Django-Filter — versions < 2.4.0
- Django-Filter Project
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973 (Third Party Advisory)
- github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85… (Patch, Third Party Advisory)
- github.com/carltongibson/django-filter/releases/tag/2.4.0 (Third Party Advisory, Release Notes)
- pypi.org/project/django-filter/ (Product, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210604-0010/ (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2020-15225?
- CVE-2020-15225 is a high-severity vulnerability in Carltongibson Django-Filter, classified under Incorrect Conversion between Numeric Types. CVSS score: 7.5/10. Published 2021-04-29.
- How severe is CVE-2020-15225?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2020-15225 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.