On Linux, if the target of Root.Chmod is replaced with a symlink while the chmod operation is in progress, Chmod can operate on the target of the syml...
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Alpine:v3.23go |
1.25.9-r0 未満→ 1.25.9-r0 |
1.25.9-r0 |
| Alpine:v3.24go |
1.26.0 以上 1.26.2-r0 未満→ 1.26.2-r0 |
1.26.2-r0 |
| Alpine:v3.24rclone |
1.73.5-r0 未満→ 1.73.5-r0 |
1.73.5-r0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
On Linux, if the target of Root.Chmod is replaced with a symlink while the chmod operation is in progress, Chmod can operate on the target of the symlink, even when the target lies outside the root. The Linux fchmodat syscall silently ignores the AT_SYMLINK_NOFOLLOW flag, which Root.Chmod uses to avoid symlink traversal. Root.Chmod checks its target before acting and returns an error if the target is a symlink lying outside the root, so the impact is limited to cases where the target is replaced with a symlink between the check and operation.
出典: OSV.dev (Open Source Vulnerabilities) OSV
参照URL
- advisory security.alpinelinux.org