`Process::myself()` from the `procfs` crate performs component-by-component path resolution of `/proc/self` without anchoring to a pre-opened directory file descriptor. In environments with shared mount namespaces (container runtimes, sandbox code), an attacker can race the traversal by bind-mounting over an intermediate path component between a validation c
Explore
Rule Explorer
Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.
- Public rules
- 2917
- Downloads
- 3.3M
- Verified
- 2917
- Authors
- 2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
CVE-2025-62596: Rust Procfs Myself Toctou Mount Racecve-2025-62596-rust-procfs-myself-toctou-mount-race
CVE-2025-62161: Toctou Open Close Bind Mount Same Pathcve-2025-62161-toctou-open-close-bind-mount-same-path
A file path is opened without O_PATH, the file descriptor is immediately closed without being used for mounting, and the same path is later passed as a bind-mount source or destination. This TOCTOU window (CWE-363 / CWE-61) allows an attacker to replace the path with a symlink between close() and mount(), causing an arbitrary file to be bind-mounted and bypa
All matching rules loaded.