Lack of data validation - Path Traversal In stdlib
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
go | 1.25.9 | ||
debian 11 | - | ||
debian 12 | - | ||
rpm rhel9 | 0:3.7.1-4.el9_8 | ||
rpm rhel8 | 0:9.2.10-30.el8_10 | ||
rpm rhel10 | 0:0.9.27-7.el10_2 | ||
rpm rhel9 | 0:165.1-2.el9_8 | ||
rpm rhel10 | - | - | |
rpm rhel9 | 0:10.2.6-22.el9_8 | ||
rpm rhel9 | - | - |
1-10 of 69
10
Aliases
References