mozilla convict improperly controlled modification of object prototype attributes ('prototype po

admin 2023-11-30 07:47:26 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 mozilla convict improperly controlled modification of object prototype attributes ('prototype pollution')

CVE编号

CVE-2022-21190

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-05-14
漏洞描述
This affects the package convict before 6.2.3. This is a bypass of [CVE-2022-22143](https://security.snyk.io/vuln/SNYK-JS-CONVICT-2340604). The [fix](https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880) introduced, relies on the startsWith method and does not prevent the vulnerability: before splitting the path, it checks if it starts with __proto__ or this.constructor.prototype. To bypass this check it's possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.__proto__ or foo.this.constructor.prototype.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808
https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3...
https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07
https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f2...
https://snyk.io/vuln/SNYK-JS-CONVICT-2774757
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 mozilla convict * Up to (excluding) 6.2.3
阿里云评分 6.7
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
- 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