Advisory

GHSA-j26p-6wx7-f3pw

Also known as: CVE-2025-54867

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-08-14 16:39 UTC
Modified
2025-08-14 19:37 UTC

Affected packages and fixes

youki

crates.io · All systems

Affected

  • introduced 0, fixed 0.5.5 (semver)

Fixed versions

0.5.5

Fix

  • Fixed version 0.5.5
    cargo update -p youki --precise 0.5.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences