Description
Youki is a container runtime written in Rust. In versions 0.5.6 and below, youki’s apparmor handling performs insufficiently strict write-target validation, and when combined with path substitution during pathname resolution, can allow writes to unintended procfs locations. While resolving a path component-by-component, a shared-mount race can substitute intermediate components and redirect the final target. This issue is fixed in version 0.5.7.
Problem types
CWE-61: UNIX Symbolic Link (Symlink) Following
CWE-363: Race Condition Enabling Link Following
Product status
References
github.com/.../youki/security/advisories/GHSA-vf95-55w6-qmrf
github.com/...ommit/5886c91073b9be748bd8d5aed49c4a820548030a
pkg.go.dev/.../cyphar/filepath-securejoin/pathrs-lite/procfs