Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/opencontainers/runc/security/advisories/GHSA-f3fp-gc8g-vw66
- https://github.com/youki-dev/youki/blob/9e63fa4da1672a78ca45100f3059a732784a5174
- https://github.com/youki-dev/youki/commit/747e342d2026fbf3a395db3e2a491ebef00082
- https://github.com/youki-dev/youki/security/advisories/GHSA-5w4j-f78p-4wh9
FAQ
What is CVE-2025-27612?
CVE-2025-27612 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 con...
How severe is CVE-2025-27612?
CVE-2025-27612 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-27612?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.