pydash 命令注入漏洞 (CVE-2023-26145)

admin 2023-11-29 20:56:05 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 pydash 命令注入漏洞 (CVE-2023-26145)

CVE编号

CVE-2023-26145

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-09-28
漏洞描述
This affects versions of the package pydash before 6.0.0. A number of pydash methods such as pydash.objects.invoke() and pydash.collections.invoke_map() accept dotted paths (Deep Path Strings) to target a nested Python object, relative to the original source object. These paths can be used to target internal class attributes and dict items, to retrieve, modify or invoke nested Python objects.**Note:**The pydash.objects.invoke() method is vulnerable to Command Injection when the following prerequisites are satisfied:1) The source object (argument 1) is not a built-in object such as list/dict (otherwise, the __init__.__globals__ path is not accessible)2) The attacker has control over argument 2 (the path string) and argument 3 (the argument to pass to the invoked method)The pydash.collections.invoke_map() method is also vulnerable, but is harder to exploit as the attacker does not have direct control over the argument to be passed to the invoked function.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://gist.github.com/CalumHutton/45d33e9ea55bf4953b3b31c84703dfca
https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021
https://security.snyk.io/vuln/SNYK-PYTHON-PYDASH-5916518
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 derrickgilland pydash * Up to (excluding) 6.0.0
阿里云评分 5.9
  • 攻击路径 远程
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-77 在命令中使用的特殊元素转义处理不恰当(命令注入)
CWE-94 对生成代码的控制不恰当(代码注入)
- 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