Incorrect Default Permissions Affecting kata-containers package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-KATACONTAINERS-9511166
  • published24 Mar 2025
  • disclosed21 Mar 2025

Introduced: 21 Mar 2025

NewCVE-2025-27612  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 kata-containers.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kata-containers package and not the kata-containers package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Base Scores

version 3.1