CVE-2025-27612

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-27612
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27612.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-27612
Aliases
Downstream
Related
Published
2025-03-21T14:24:28Z
Modified
2025-11-12T02:42:28.854283Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Libcontainer is affected by capabilities elevation
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-276"
    ]
}
References

Affected packages

Git / github.com/youki-dev/youki

Affected ranges

Type
GIT
Repo
https://github.com/youki-dev/youki
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.1.0
v0.2.0
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2