django-filter_project django-filter 数值类型间的不正确转换

admin 2023-12-01 14:54:29 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a...
https://github.com/carltongibson/django-filter/releases/tag/2.4.0
https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://pypi.org/project/django-filter/
https://security.netapp.com/advisory/ntap-20210604-0010/
受影响软件情况
# 类型 厂商 产品 版本 影响面
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
阿里云评分 2.9
  • 攻击路径 本地
  • 攻击复杂度 容易
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 N/A
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 DoS
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-681 数值类型间的不正确转换
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0