mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Add more unit test cases to improve code coverage. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
Safe Path
A library to safely handle filesystem paths, typically for container runtimes.
There are often path related attacks, such as symlink based attacks, TOCTTOU attacks. The safe-path
crate
provides several functions and utility structures to protect against path resolution related attacks.
Support
Operating Systems:
- Linux
Reference
filepath-securejoin
: secure_join() written in Go.- CVE-2021-30465: symlink related TOCTOU flaw in
runC
.
License
This code is licensed under Apache-2.0.