Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
×
说明
Versions of the package tough-cookie before 4.1.3 is vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.
状态: DETECTED
严重性: 严重
工具:依赖扫描
扫描器:Gemnasium
位置
文件:package-lock.json
标识
Gemnasium-d118b621-5e35-4aa7-895e-dcee6984cb08
CVE-2023-26136
pbkdf2 silently disregards Uint8Array input, returning static keys
×
说明
On historic but declared as supported Node.js versions (0.12-2.x), pbkdf2 silently disregards Uint8Array input
This only affects Node.js <3.0.0, but pbkdf2 claims to:
Support Node.js >= 0.12 (and there seems to be ongoing effort in this repo to maintain that)
Support Uint8Array input (input is typechecked against Uint8Array, and the error message includes e.g. "Password must be a string, a Buffer, a typed array or a DataView"
状态: DETECTED
严重性: 严重
工具:依赖扫描
扫描器:Gemnasium
位置
文件:package-lock.json
标识
Gemnasium-fb79f77f-f2bf-4892-beb5-56f792c1c363
CVE-2025-6547
GHSA-v62p-rq8g-8h59
....
2 个回复
Ask小助手
收到你的 bug 反馈,以官方人员视角对这个反馈做如下评审与分析:
一、反馈内容完整性评审
反馈的核心问题清晰,扫描报告的关键信息(CVE 编号、严重性、扫描工具 Gemnasium、漏洞位置 package-lock.json)提供得比较完整,属于依赖安全扫描类问题,方向明确。但以下几点建议补充:
二、问题是否成立
这个问题成立,属于 @dcloudio/* 包的传递依赖(依赖的依赖)被扫描出已知漏洞,不是误报。社区已有同类案例的官方处理记录,可参考:
【报Bug】@dcloudio/uni-mp-weixin 依赖 "file-type": "^9.0.0"、"jpeg-js": "^0.3.4"这两个依赖被扫描存在漏洞
该案例中官方确认跟进处理此类依赖漏洞问题,并给出了处理思路:
三、关于“直接升级那些依赖吗”
tough-cookie、pbkdf2、request 并不是你在 package.json 中直接声明的依赖,而是 @dcloudio/ 包的传递依赖,版本由 @dcloudio/ 包内部的依赖声明决定,直接在自己的 package.json 里升级这些包通常不会生效。推荐做法:
四、补充说明
另外说明:我无法识别附件内容,如需补充信息请直接以文字形式描述。
wongjoke (作者)
扫描工具使用的是gitlab的依赖扫描以及SAST
要回复问题请先登录或注册
公告
更多>相关问题