You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixes normalization bypass via `..` before symlink detection.
15
+
-**Fixed manual traversal vulnerability**: `soft_canonicalize` now correctly preserves `/proc/PID/root` boundaries when resolving non-existing paths on Linux.
16
+
- Previously, manual symlink resolution for non-existing paths could resolve `/proc/PID/root` to `/`, bypassing the protection provided by `proc-canonicalize`.
17
+
- Added `is_proc_magic_link` check in `resolve_simple_symlink_chain` to stop resolution at magic boundaries.
18
+
- Now handles both process-level (`/proc/PID/root`) and task-level (`/proc/PID/task/TID/root`) namespace boundaries.
19
+
-**New**: Added protection against `..` escaping `/proc/PID/root` during manual traversal.
20
+
21
+
### Added
22
+
23
+
-**New security tests for proc-canonicalize 0.0.4 attack vectors** (`tests/linux_proc_indirect_symlink.rs`):
0 commit comments