Description
The safe_traversal module in uutils coreutils, which provides protection against Time-of-Check to Time-of-Use (TOCTOU) symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets. On other Unix-like systems such as macOS and FreeBSD, the utility fails to utilize these protections, leaving directory traversal operations vulnerable to symlink race conditions.
Problem types
CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition
Product status
Any version before 0.6.0
Credits
Zellic
References
github.com/uutils/coreutils/pull/9792
github.com/uutils/coreutils/releases/tag/0.6.0