Skip to content
OpenAdvisories

Package · crates.io

cap-primitives

2 known vulnerabilities.

2 results · Feed

  • Critical 9.0

    Paths or symlinks ending in a slash escape the sandbox

    cap-primitives resolves a path inside a sandboxed directory one component at a time and opens the last component with `O_NOFOLLOW`, so that a symlink there cannot lead out of the directory. When the path ended in `/`, the resolver added the slash back to the …

  • Low 2.3

    cap-std doesn't fully sandbox all the Windows device filenames

    The cap-std project is organized around the eponymous `cap-std` crate, and develops libraries to make it easy to write capability-based code. cap-std's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM…