CVE-2025-27612 Details
Description
libcontainer is a library for container control. Prior to libcontainer 0.5.3, while creating a tenant container, the tenant builder accepts a list of capabilities to be added in the spec of tenant container. The logic here adds the given capabilities to all capabilities of main container if present in spec, otherwise simply set provided capabilities as capabilities of the tenant container. However, setting inherited caps in any case for tenant container can lead to elevation of capabilities, similar to CVE-2022-29162. This does not affect youki binary itself. This is only applicable if you are using libcontainer directly and using the tenant builder.
A vulnerability in the Youki libcontainer's tenant container builder allows for elevation of Linux process capabilities. This issue arises because the builder can unintentionally inherit and elevate capabilities from the main container, particularly if user-provided capabilities are added. The vulnerability is present in libcontainer versions prior to 0.5.3 and does not affect the Youki binary itself. The issue is similar to a previously reported vulnerability in runc, CVE-2022-29162, which also involved improper handling of inherited capabilities.
Users can update to libcontainer version 0.5.3 or later, where this vulnerability has been fixed. If an immediate update is not possible, do not pass user-provided capabilities to the tenant builder, or verify and filter the capabilities before setting them on the tenant container.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 21, 2025CISA-ADP
Assessed Mar 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-276 | Incorrect Default Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| youki-libcontainer | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 21, 2025 | New CVE Received | [email protected] |
Volerion