低危 django-filter_project django-filter 数值类型间的不正确转换
CVE编号
CVE-2020-15225利用情况
暂无补丁情况
官方补丁披露时间
2021-04-30漏洞描述
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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | django-filter_project | django-filter | * | Up to (excluding) 2.4.0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | django-filter | * | Up to (including) 1.1.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | django-filter | * | Up to (excluding) 2.4.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | django-filter | * | Up to (excluding) 2.4.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | django-filter | * | Up to (including) 0.13.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | django-filter | * | Up to (excluding) 2.4.0-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_34 | python-django-filter-doc | * | Up to (excluding) 21.1-1.fc34 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | python-django-filter-doc | * | Up to (excluding) 21.1-1.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_38 | python3-django-filter | * | Up to (excluding) 23.2-1.fc38 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_8 | python-django-filter | * | Up to (excluding) 22.1-1.el8 | |||||
- 攻击路径 本地
- 攻击复杂度 容易
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 DoS
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-681 | 数值类型间的不正确转换 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论