脆弱性情報
高度な大規模言語モデル技術を使用していますが、出力には不正確または古い情報が含まれる可能性があります。Shenlongはデータの正確性を確保するよう努めていますが、実際の状況に基づいて検証・判断してください。
脆弱性タイトル
view_component: System Test Entry Point Path Check Allows Sibling Directory Escape
脆弱性説明
view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 3.0.0 to 4.9.0, the system test entrypoint canonicalizes a user-controlled file path with File.realpath, then checks whether the resolved path starts with the temp directory path. This is not a safe containment check because sibling directories can share the same string prefix. This vulnerability is fixed in 4.9.0.
CVSS情報
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
脆弱性タイプ
部分比较
脆弱性タイトル
view_component 安全漏洞
脆弱性説明
view_component是ViewComponent开源的一个用于构建可复用、可测试视图组件的框架。 view_component 3.0.0版本至4.9.0版本存在安全漏洞,该漏洞源于系统测试入口点使用File.realpath规范化用户控制的文件路径后,仅检查解析路径是否以临时目录路径开头,但未进行安全包含检查,因为同级目录可共享相同字符串前缀。
CVSS情報
N/A
脆弱性タイプ
N/A