Skip to content
OpenAdvisories
Medium SUSE-SU-2022:2341-1 2 CVEs

Security update for containerd, docker and runc

Published Jul 8, 2022 · Updated Feb 4, 2026

Summary

This update for containerd, docker and runc fixes the following issues:

containerd:

- CVE-2022-31030: Fixed denial of service via invocation of the ExecSync API (bsc#1200145)

docker:

- Update to Docker 20.10.17-ce. See upstream changelog online at
https://docs.docker.com/engine/release-notes/#201017. (bsc#1200145)

runc:

Update to runc v1.1.3.

Upstream changelog is available from https://github.com/opencontainers/runc/releases/tag/v1.1.3.

* Our seccomp `-ENOSYS` stub now correctly handles multiplexed syscalls on
s390 and s390x. This solves the issue where syscalls the host kernel did not
support would return `-EPERM` despite the existence of the `-ENOSYS` stub
code (this was due to how s390x does syscall multiplexing).
* Retry on dbus disconnect logic in libcontainer/cgroups/systemd now works as
intended; this fix does not affect runc binary itself but is important for
libcontainer users such as Kubernetes.
* Inability to compile with recent clang due to an issue with duplicate
constants in libseccomp-golang.
* When using systemd cgroup driver, skip adding device paths that don't exist,
to stop systemd from emitting warnings about those paths.
* Socket activation was failing when more than 3 sockets were used.
* Various CI fixes.
* Allow to bind mount /proc/sys/kernel/ns_last_pid to inside container.
- Fixed issues with newer syscalls (namely faccessat2) on older kernels on s390(x) caused by
that platform's syscall multiplexing semantics. (bsc#1192051 bsc#1199565)

Update to runc v1.1.2.

Upstream changelog is available from https://github.com/opencontainers/runc/releases/tag/v1.1.2.

Security issue fixed:

- CVE-2022-29162: A bug was found in runc where runc exec --cap executed processes with
non-empty inheritable Linux process capabilities, creating an atypical Linux
environment. (bsc#1199460)

- `runc spec` no longer sets any inheritable capabilities in the created
example OCI spec (`config.json`) file.

Update to runc v1.1.1.

Upstream changelog is available from https://github.com/opencontainers/runc/releases/tag/v1.1.1.

* runc run/start can now run a container with read-only /dev in OCI spec,
rather than error out. (#3355)
* runc exec now ensures that --cgroup argument is a sub-cgroup. (#3403)
libcontainer systemd v2 manager no longer errors out if one of the files
listed in /sys/kernel/cgroup/delegate do not exist in container's
cgroup. (#3387, #3404)
* Loosen OCI spec validation to avoid bogus 'Intel RDT is not supported'
error. (#3406)
* libcontainer/cgroups no longer panics in cgroup v1 managers if stat
of /sys/fs/cgroup/unified returns an error other than ENOENT. (#3435)

Update to runc v1.1.0.

Upstream changelog is available from https://github.com/opencontainers/runc/releases/tag/v1.1.0.

- libcontainer will now refuse to build without the nsenter package being
correctly compiled (specifically this requires CGO to be enabled). This
should avoid folks accidentally creating broken runc binaries (and
incorrectly importing our internal libraries into their projects). (#3331)

Update to runc v1.1.0~rc1.

Upstream changelog is available from https://github.com/opencontainers/runc/releases/tag/v1.1.0-rc.1.

+ Add support for RDMA cgroup added in Linux 4.11.
* runc exec now produces exit code of 255 when the exec failed.
This may help in distinguishing between runc exec failures
(such as invalid options, non-running container or non-existent
binary etc.) and failures of the command being executed.
+ runc run: new --keep option to skip removal exited containers artefacts.
This might be useful to check the state (e.g. of cgroup controllers) after
the container hasexited.
+ seccomp: add support for SCMP_ACT_KILL_PROCESS and SCMP_ACT_KILL_THREAD
(the latter is just an alias for SCMP_ACT_KILL).
+ seccomp: add support for SCMP_ACT_NOTIFY (seccomp actions). This allows
users to create sophisticated seccomp filters where syscalls can be
efficiently emulated by privileged processes on the host.
+ checkpoint/restore: add an option (--lsm-mount-context) to set
a different LSM mount context on restore.
+ intelrdt: support ClosID parameter.
+ runc exec --cgroup: an option to specify a (non-top) in-container cgroup
to use for the process being executed.
+ cgroup v1 controllers now support hybrid hierarchy (i.e. when on a cgroup v1
machine a cgroup2 filesystem is mounted to /sys/fs/cgroup/unified, runc
run/exec now adds the container to the appropriate cgroup under it).
+ sysctl: allow slashes in sysctl names, to better match sysctl(8)'s
behaviour.
+ mounts: add support for bind-mounts which are inaccessible after switching
the user namespace. Note that this does not permit the container any
additional access to the host filesystem, it simply allows containers to
have bind-mounts configured for paths the user can access but have
restrictive access control settings for other users.
+ Add support for recursive mount attributes using mount_setattr(2). These
have the same names as the proposed mount(8) options -- just prepend r
to the option name (such as rro).
+ Add runc features subcommand to allow runc users to detect what features
runc has been built with. This includes critical information such as
supported mount flags, hook names, and so on. Note that the output of this
command is subject to change and will not be considered stable until runc
1.2 at the earliest. The runtime-spec specification for this feature is
being developed in opencontainers/runtime-spec#1130.
* system: improve performance of /proc/$pid/stat parsing.
* cgroup2: when /sys/fs/cgroup is configured as a read-write mount, change
the ownership of certain cgroup control files (as per
/sys/kernel/cgroup/delegate) to allow for proper deferral to the container
process.
* runc checkpoint/restore: fixed for containers with an external bind mount
which destination is a symlink.
* cgroup: improve openat2 handling for cgroup directo

Fixed packages 79

ReleasePackageFixed in
SUSE · Enterprise Storage 6 containerd 1.6.6-150000.73.2
SUSE · Enterprise Storage 6 docker 20.10.17_ce-150000.166.1
SUSE · Enterprise Storage 6 runc 1.1.3-150000.30.1
SUSE · Enterprise Storage 7 containerd 1.6.6-150000.73.2
SUSE · Enterprise Storage 7 docker 20.10.17_ce-150000.166.1
SUSE · Enterprise Storage 7 runc 1.1.3-150000.30.1
SUSE · Enterprise Storage 7.1 runc 1.1.3-150000.30.1
openSUSE · Leap 15.3 containerd 1.6.6-150000.73.2
openSUSE · Leap 15.3 docker 20.10.17_ce-150000.166.1
openSUSE · Leap 15.3 docker-kubic 20.10.17_ce-150000.166.1
openSUSE · Leap 15.3 runc 1.1.3-150000.30.1
openSUSE · Leap 15.4 containerd 1.6.6-150000.73.2
openSUSE · Leap 15.4 docker 20.10.17_ce-150000.166.1
openSUSE · Leap 15.4 docker-kubic 20.10.17_ce-150000.166.1
openSUSE · Leap 15.4 runc 1.1.3-150000.30.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-ESPOS containerd 1.6.6-150000.73.2
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-ESPOS docker 20.10.17_ce-150000.166.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-ESPOS runc 1.1.3-150000.30.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS containerd 1.6.6-150000.73.2
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS docker 20.10.17_ce-150000.166.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS runc 1.1.3-150000.30.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS containerd 1.6.6-150000.73.2
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS docker 20.10.17_ce-150000.166.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS runc 1.1.3-150000.30.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS containerd 1.6.6-150000.73.2
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS docker 20.10.17_ce-150000.166.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS runc 1.1.3-150000.30.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-ESPOS containerd 1.6.6-150000.73.2
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-ESPOS docker 20.10.17_ce-150000.166.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-ESPOS runc 1.1.3-150000.30.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-LTSS containerd 1.6.6-150000.73.2
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-LTSS docker 20.10.17_ce-150000.166.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-LTSS runc 1.1.3-150000.30.1
SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 containerd 1.6.6-150000.73.2
SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 docker 20.10.17_ce-150000.166.1
SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 runc 1.1.3-150000.30.1
SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 containerd 1.6.6-150000.73.2
SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 docker 20.10.17_ce-150000.166.1
SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 runc 1.1.3-150000.30.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Containers 15 SP3 containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP3 Linux Enterprise Module for Containers 15 SP3 docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Containers 15 SP3 runc 1.1.3-150000.30.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Containers 15 SP4 containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP4 Linux Enterprise Module for Containers 15 SP4 docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Containers 15 SP4 runc 1.1.3-150000.30.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Package Hub 15 SP3 containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-BCL containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-BCL docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-BCL runc 1.1.3-150000.30.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS runc 1.1.3-150000.30.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL runc 1.1.3-150000.30.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS containerd 1.6.6-150000.73.2
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS runc 1.1.3-150000.30.1
SUSE · SLES 15 Linux Enterprise Server 15-LTSS containerd 1.6.6-150000.73.2
SUSE · SLES 15 Linux Enterprise Server 15-LTSS docker 20.10.17_ce-150000.166.1
SUSE · SLES 15 Linux Enterprise Server 15-LTSS runc 1.1.3-150000.30.1
SUSE · SLES for SAP 15 Linux Enterprise Server for SAP Applications 15 containerd 1.6.6-150000.73.2
SUSE · SLES for SAP 15 Linux Enterprise Server for SAP Applications 15 docker 20.10.17_ce-150000.166.1
SUSE · SLES for SAP 15 Linux Enterprise Server for SAP Applications 15 runc 1.1.3-150000.30.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 containerd 1.6.6-150000.73.2
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 docker 20.10.17_ce-150000.166.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 runc 1.1.3-150000.30.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 containerd 1.6.6-150000.73.2
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 docker 20.10.17_ce-150000.166.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 runc 1.1.3-150000.30.1
SUSE · Manager Proxy 4.1 containerd 1.6.6-150000.73.2
SUSE · Manager Proxy 4.1 docker 20.10.17_ce-150000.166.1
SUSE · Manager Proxy 4.1 runc 1.1.3-150000.30.1
SUSE · Manager Retail Branch Server 4.1 containerd 1.6.6-150000.73.2
SUSE · Manager Retail Branch Server 4.1 docker 20.10.17_ce-150000.166.1
SUSE · Manager Retail Branch Server 4.1 runc 1.1.3-150000.30.1
SUSE · Manager Server 4.1 containerd 1.6.6-150000.73.2
SUSE · Manager Server 4.1 docker 20.10.17_ce-150000.166.1
SUSE · Manager Server 4.1 runc 1.1.3-150000.30.1

Vulnerabilities 2

  • Medium 5.9

    Incorrect Default Permissions in runc

    runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable Linux process capabilities, creating an aty…

  • Medium 5.5

    containerd CRI plugin: Host memory exhaustion through ExecSync

    containerd is an open source container runtime. A bug was found in the containerd's CRI implementation where programs inside a container can cause the containerd daemon to consume memory without bound during invocation of the `ExecSync` API. This can cause co…

References

  • report
    https://bugzilla.suse.com/1192051
  • report
    https://bugzilla.suse.com/1199460
  • report
    https://bugzilla.suse.com/1199565
  • report
    https://bugzilla.suse.com/1200088
  • report
    https://bugzilla.suse.com/1200145
  • web
    https://www.suse.com/security/cve/CVE-2022-29162
  • web
    https://www.suse.com/security/cve/CVE-2022-31030