CVE-2025-54867: Youki If /proc And /sys Vulnerability

HIGH
Advisory Identifier: GHSA-j26p-6wx7-f3pw
CVSS 7.0
CWE-61
Published
Advisory Summary

CVE-2025-54867 is a HIGH (CVSS 7.0) if /proc and /sys vulnerability (CWE-61: UNIX Symbolic Link (Symlink) Following) affecting Youki libraries in the crates.io ecosystem. The issue involves if /proc and /sys in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem.. Remediation is available by upgrading affected packages to version 0.5.5.

CVE-2025-54867 at a Glance

CVE Identifier CVE-2025-54867
GHSA Identifier GHSA-j26p-6wx7-f3pw
Severity HIGH
CVSS v3.1 Base Score 7.0
CWE Classification CWE-61: UNIX Symbolic Link (Symlink) Following
Affected Product Youki
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 7.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-54867

To remediate this vulnerability, upgrade all affected Youki dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

youki fixed: 0.5.5
Upgrade youki to 0.5.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for youki

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-54867, inspect your project dependencies for Youki:

inspect dependencies for youki

Analyze the terminal output to locate any version of Youki in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-61: UNIX Symbolic Link (Symlink) Following, where the product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. this could allow an attacker to cause the product to operate on unauthorized files. In Youki, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

CVE-2025-54867 Affected Youki Versions

1 component(s)
Fixed Versions:
0.5.5
Product / Package Ecosystem Affected Versions Fixed Version
youki
crates.io
< 0.5.5
0.5.5

References

Frequently Asked Questions

What is CVE-2025-54867?
CVE-2025-54867 is a security vulnerability in Youki involving If /proc and /sys in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem. under CWE-61: UNIX Symbolic Link (Symlink) Following.
Which Youki versions are affected?
Affected versions include releases prior to 0.5.5 across affected packages: youki.
What version fixes CVE-2025-54867?
Upgrading to 0.5.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is youki affected?
Yes, youki is affected in releases prior to 0.5.5. Upgrade your dependency to 0.5.5 or later.
What is the CVSS score of CVE-2025-54867?
CVE-2025-54867 has a CVSS v3.1 base score of 7.0 (HIGH) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-54867?
CVE-2025-54867 is classified under CWE-61: UNIX Symbolic Link (Symlink) Following (The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.).
How can I check crates.io dependencies for CVE-2025-54867?
Run the dependency tree command: 'inspect dependencies for youki'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j26p-6wx7-f3pw",
  "modified" : "2025-08-14T19:37:22Z",
  "published" : "2025-08-14T16:39:04Z",
  "aliases" : [ "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\nIf `/proc` and `/sys` in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem.\n\n### Details\n\nFor security reasons, container creation should be prohibited if `/proc` or `/sys` in the rootfs is a symbolic link.\nI verified this behavior with `youki`.\nWhen `/proc` or `/sys` is a symbolic link, `runc` fails to create the container, whereas `youki` successfully creates it.\n\nThis is the fix related to this issue in `runc`.\n* https://github.com/opencontainers/runc/pull/3756\n* https://github.com/opencontainers/runc/pull/3773\n* https://github.com/opencontainers/runc/blob/main/libcontainer/rootfs_linux.go#L590\n* https://github.com/opencontainers/runc/blob/main/tests/integration/mask.bats#L60\n\n\n### Impact\n\nThe following advisory appears to be related to this vulnerability:\n* https://github.com/advisories/GHSA-vpvm-3wq2-2wvm\n* https://github.com/advisories/GHSA-fh74-hm69-rqjw",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "youki"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/youki-dev/youki/security/advisories/GHSA-j26p-6wx7-f3pw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54867"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/youki-dev/youki/commit/0d9b4f2aa5ceaf988f3eb568711d2acf0a4ace37"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/youki-dev/youki"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/youki-dev/youki/releases/tag/v0.5.5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-61" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-14T16:39:04Z",
    "nvd_published_at" : "2025-08-14T16:15:39Z"
  }
}