CVE-2025-27612CWE-276

Libcontainer is affected by capabilities elevation

Medium · published March 21, 2025

CVSS v3.1
5.9
EPSS
0%
Percentile
7.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00178 · 7.0th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2025-03-21T14:24Z
EPSS history
Timeline
  • 21 MAR 14:24Z
    Libcontainer is affected by capabilities elevation
    cvelistv5