Skip to content

CVE-2025-27612 Libcontainer is affected by capabilities elevation

MediumCVSS 5.9 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
opencontainers runc(Go) All versions No fix listed No fix yet
crates.io libcontainer(crates.io) < 0.5.3 0.5.3 Fixed
youki-dev youki = < 0.5.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
opencontainers runc(Go) All versions No fix listed
crates.io libcontainer(crates.io) < 0.5.3 0.5.3
youki-dev youki = < 0.5.3 No fix listed

References