git-url-parse <=1.2.2 正则表达式拒绝服务漏洞

admin 2023-11-29 23:33:10 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 git-url-parse <=1.2.2 正则表达式拒绝服务漏洞

CVE编号

CVE-2023-32758

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-05-15
漏洞描述
git-url-parse 是一个开源的 JavaScript 库,用于解析和处理 Git URL。URL 路径中使用斜杠表示不同层级的组织,称为子组结构。 git-url-parse 1.2.2及之前版本无法正确解析具有子组结构 URL,导致生成的 URL 中会额外多出"https//"部分。如:期望生成的 URL 是 hxxps://gitlab.com/r2cexamples2/group2/group3/chess-game.git,实际生成的是 hxxps://https//gitlab.com/r2cexamples2/group2/group3/chess-game。
解决建议
"官方已发布补丁:https://github.com/returntocorp/semgrep/pull/7611/commits/76907e5f5b5ceddc1c4f88f94b3ea9831b571269"
参考链接
https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py
https://github.com/returntocorp/semgrep/pull/7611
https://github.com/returntocorp/semgrep/pull/7943
https://github.com/returntocorp/semgrep/pull/7955
https://pypi.org/project/git-url-parse
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 coala git-url-parse * Up to (including) 1.2.2
运行在以下环境
应用 semgrep semgrep * Up to (including) 1.21.0
阿里云评分 6.2
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-1333 Inefficient Regular Expression Complexity
- 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