Insecure Permissions Affecting github.com/opencontainers/runc/libcontainer package, versions <1.1.5
Threat Intelligence
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 ID SNYK-GOLANG-GITHUBCOMOPENCONTAINERSRUNCLIBCONTAINER-5294661
- published 29 Mar 2023
- disclosed 29 Mar 2023
- credit Akihiro Suda
Introduced: 29 Mar 2023
CVE-2023-25809 Open this link in a new tabHow to fix?
Upgrade github.com/opencontainers/runc/libcontainer
to version 1.1.5 or higher.
Overview
github.com/opencontainers/runc/libcontainer is a package for a modern container runtime.
Affected versions of this package are vulnerable to Insecure Permissions such that a container may gain the write access to user-owned cgroup hierarchy /sys/fs/cgroup/user.slice/...
on the host .
Note: Other users's cgroup hierarchies are not affected.
Workaround
Users who are unable to upgrade to the fixed version can:
Unshare the cgroup namespace
(docker|podman|nerdctl) run --cgroupns=private)
. This is the default behavior of Docker/Podman/nerdctl on cgroup v2 hosts.(very rare): add
/sys/fs/cgroup
tomaskedPaths