Affected by GO-2023-1627
and 5 other vulnerabilities
GO-2023-1627 : Opencontainers runc Incorrect Authorization vulnerability in github.com/opencontainers/runc
GO-2023-1682 : Rootless: /sys/fs/cgroup is writable when cgroupns isn't unshared in github.com/opencontainers/runc
GO-2023-1683 : AppArmor bypass with symlinked /proc in github.com/opencontainers/runc
GO-2024-3110 : Can be confused to create empty files/directories on the host in github.com/opencontainers/runc
GO-2025-3543 : WITHDRAWN: Libcontainer is affected by capabilities elevation in github.com/opencontainers/runc
GO-2025-4098 : Container escape and DDoS due to arbitrary write gadgets and procfs write redirects in github.com/opencontainers/runc
Discover Packages
github.com/opencontainers/runc
libcontainer
cgroups
fs2
package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: May 5, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CreateCgroupPath creates cgroupv2 path, enabling all the supported controllers.
NewManager creates a manager for cgroup v2 unified hierarchy.
dirPath is like "/sys/fs/cgroup/user.slice/user-1001.slice/session-1.scope".
If dirPath is empty, it is automatically set using config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.