Incorrect Default Permissions Affecting libcontainer package, versions <0.5.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-RUST-LIBCONTAINER-9508723
  • published21 Mar 2025
  • disclosed21 Mar 2025
  • creditYashodhan

Introduced: 21 Mar 2025

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

How to fix?

Upgrade libcontainer to version 0.5.3 or higher.

Overview

libcontainer is a library for container control.

Affected versions of this package are vulnerable to Incorrect Default Permissions when creating a tenant container. An attacker can escalate privileges by manipulating the capabilities assigned during the tenant container creation.

Note:

This is only exploitable if using libcontainer directly and utilizing the tenant builder.

CVSS Base Scores

version 4.0
version 3.1