Home

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.

PUBLISHED Reserved 2025-03-03 | Published 2025-03-21 | Updated 2025-03-21 | Assigner GitHub_M




MEDIUM: 5.9CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Problem types

CWE-276: Incorrect Default Permissions

Product status

< 0.5.3
affected

References

github.com/.../youki/security/advisories/GHSA-5w4j-f78p-4wh9

github.com/...s/runc/security/advisories/GHSA-f3fp-gc8g-vw66

github.com/...ommit/747e342d2026fbf3a395db3e2a491ebef00082f1

github.com/...s/libcontainer/src/container/tenant_builder.rs

cve.org (CVE-2025-27612)

nvd.nist.gov (CVE-2025-27612)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.