onedev_project onedev 文件和路径信息暴露

admin 2023-12-01 16:53:09 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
onedev_project onedev 文件和路径信息暴露

CVE编号

CVE-2021-21250

利用情况

暂无

补丁情况

N/A

披露时间

2021-01-16
漏洞描述
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which may lead to arbitrary file read. When BuildSpec is provided in XML format, the spec is processed by XmlBuildSpecMigrator.migrate(buildSpecString); which processes the XML document without preventing the expansion of external entities. These entities can be configured to read arbitrary files from the file system and dump their contents in the final XML document to be migrated. If the files are dumped in properties included in the YAML file, it will be possible for an attacker to read them. If not, it is possible for an attacker to exfiltrate the contents of these files Out Of Band. This issue was addressed in 4.0.3 by ignoring ENTITY instructions in xml file.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/theonedev/onedev/commit/9196fd795e87dab069b4260a3590a0ea886e770f
https://github.com/theonedev/onedev/security/advisories/GHSA-9pph-8gfc-6w2r
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 onedev_project onedev * Up to (excluding) 4.0.3
CVSS3评分 6.5
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 低
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 无
  • 保密性 高
  • 完整性 无
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE-ID 漏洞类型
CWE-538 文件和路径信息暴露
- 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