NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2025-54867: Youki: If /proc and /sys in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem.

highCVSS 3.1 7.0GHSA-j26p-6wx7-f3pw

Summary If /proc and /sys in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem. Details For security reasons, container creation should be prohibited if /proc or /sys in the rootfs is a symbolic link. I verified this behavior with youki. When /proc or /sys is a symbolic link, runc fails to create the container, whereas youki successfully creates it.

Published Aug 14, 2025

Affected packages

youki

Ecosystem
Rust (crates.io)
Affected
< 0.5.5
Fixed in
0.5.5
Check
cargo tree -i youki

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

If /proc and /sys in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem.

Details

For security reasons, container creation should be prohibited if /proc or /sys in the rootfs is a symbolic link. I verified this behavior with youki. When /proc or /sys is a symbolic link, runc fails to create the container, whereas youki successfully creates it.

This is the fix related to this issue in runc.

  • https://github.com/opencontainers/runc/pull/3756
  • https://github.com/opencontainers/runc/pull/3773
  • https://github.com/opencontainers/runc/blob/main/libcontainer/rootfs_linux.go#L590
  • https://github.com/opencontainers/runc/blob/main/tests/integration/mask.bats#L60

Impact

The following advisory appears to be related to this vulnerability:

  • https://github.com/advisories/GHSA-vpvm-3wq2-2wvm
  • https://github.com/advisories/GHSA-fh74-hm69-rqjw

Credited to saku3, utam0k.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries