Flowintel Template Repository Path Traversal and Symlink Escape Allows Arbitrary File Read
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| flowintelflowintel |
4.1.0 未満→ 4.1.0 |
4.1.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Flowintel's template repository subsystem did not adequately constrain file access to the configured repository base directory. Two related weaknesses existed:
- Repository registration and editing accepted arbitrary local paths without verifying they resolved inside the configured REPOSITORY_BASE_PATH, allowing an authenticated user to point a repository at any readable directory on the host.
- Manifest and template file lookups used normalized (non-canonical) path joins and a startswith-based guard that could be bypassed by symbolic links, permitting reads of files outside the intended repository.
An authenticated user with the ability to add or edit a template repository could therefore cause the application to read and return the contents of arbitrary files readable by the service account, including configuration files, credentials, or other sensitive data.
Affected: Flowintel versions prior to 4.1.0.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com