-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency containers/podman to v5.2.0 #6311
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approved because label type/renovate is present.
🔍 Vulnerabilities of
|
digest | sha256:8d4314281281e595ed23c370b10883bf450bebea48ab2eb2d621c5bdff65ca3e |
vulnerabilities | |
platform | linux/amd64 |
size | 33 MB |
packages | 172 |
github.com/opencontainers/runc
|
Affected range | <1.2.0-rc.1 |
Fixed version | 1.2.0-rc.1 |
CVSS Score | 7.2 |
CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Description
Withdrawn Advisory
This advisory has been withdrawn because it was incorrectly attributed to runc. Please see the issue here for more information.
Original Description
A flaw was found in cri-o, where an arbitrary systemd property can be injected via a Pod annotation. Any user who can create a pod with an arbitrary annotation may perform an arbitrary action on the host system. This issue has its root in how runc handles Config Annotations lists.
OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
Affected range | <=v1.1.4 |
Fixed version | Not Fixed |
CVSS Score | 7 |
CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Description
runc through 1.1.4 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom images. NOTE: this issue exists because of a CVE-2019-19921 regression.
Improper Preservation of Permissions
Affected range | <1.1.5 |
Fixed version | 1.1.5 |
CVSS Score | 6.1 |
CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Description
Impact
It was found that AppArmor, and potentially SELinux, can be bypassed when
/proc
inside the container is symlinked with a specific mount configuration.Patches
Fixed in runc v1.1.5, by prohibiting symlinked
/proc
: opencontainers/runc#3785This PR fixes CVE-2023-27561 as well.
Workarounds
Avoid using an untrusted container image.
Affected range | <1.1.2 |
Fixed version | 1.1.2 |
CVSS Score | 5.9 |
CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Description
Impact
A bug was found in runc where
runc exec --cap
executed processes with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve(2).This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set.
Patches
This bug has been fixed in runc 1.1.2. Users should update to this version as soon as possible.
This fix changes
runc exec --cap
behavior such that the additional capabilities granted to the process being executed (as specified via--cap
arguments) do not include inheritable capabilities.In addition,
runc spec
is changed to not set any inheritable capabilities in the created example OCI spec (config.json
) file.Credits
The opencontainers project would like to thank Andrew G. Morgan for responsibly disclosing this issue in accordance with the opencontainers org security policy.
For more information
If you have any questions or comments about this advisory:
- Open an issue
- Email us at security@opencontainers.org if you think you’ve found a security bug
Improper Preservation of Permissions
Affected range | <1.1.5 |
Fixed version | 1.1.5 |
CVSS Score | 2.5 |
CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:L |
Description
Impact
It was found that rootless runc makes
/sys/fs/cgroup
writable in following conditons:
- when runc is executed inside the user namespace, and the
config.json
does not specify the cgroup namespace to be unshared (e.g..,(docker|podman|nerdctl) run --cgroupns=host
, with Rootless Docker/Podman/nerdctl)- or, when runc is executed outside the user namespace, and
/sys
is mounted withrbind, ro
(e.g.,runc spec --rootless
; this condition is very rare)A container may gain the write access to user-owned cgroup hierarchy
/sys/fs/cgroup/user.slice/...
on the host .
Other users's cgroup hierarchies are not affected.Patches
v1.1.5 (planned)
Workarounds
- Condition 1: Unshare the cgroup namespace (
(docker|podman|nerdctl) run --cgroupns=private)
. This is the default behavior of Docker/Podman/nerdctl on cgroup v2 hosts.- Condition 2 (very rare): add
/sys/fs/cgroup
tomaskedPaths
Attempting automerge. See https://github.com/uniget-org/tools/actions/runs/10219039249. |
PR is clean and can be merged. See https://github.com/uniget-org/tools/actions/runs/10219039249. |
This PR contains the following updates:
5.1.2
->5.2.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
containers/podman (containers/podman)
v5.2.0
Compare Source
Features
libkrun
as a backend for creating virtual machines on MacOS. Thelibkrun
backend has the advantage of allowing GPUs to be mounted into the virtual machine to accelerate tasks. The default backend remainsapplehv
..build
files, which allows images to be built by Quadlet and then used by Quadlet containers..container
files now support two new fields,LogOpt
to specify container logging configuration andStopSignal
to specify container stop signal (#23050)..container
and.pod
files now support a new field,NetworkAlias
, to add network aliases.container.d
,pod.d
) and truncated unit drop-ins (unit-.container.d
) (#23158).podman system check
, which will identify (and, if possible, correct) corruption within local container storage.podman machine reset
command will now reset all providers available on the current operating system (e.g. ensuring that both HyperV and WSLpodman machine
VMs will be removed on Windows).Changes
.image
units now have a dependency onnetwork-online.target
(#21873).--device
option topodman create
andpodman run
is no longer ignored when--privileged
is also specified (#23132).podman start
andpodman stop
commands no longer print the full ID of the pod started/stopped, but instead the user's input used to specify the pod (e.g.podman pod start b
will printb
instead of the pod's full ID) (#22590).podman machine
on Linux now usevirtiofs
instead of9p
for mounting host filesystems. Existing mounts will be transparently changed on machine restart or recreation. This should improve performance and reliability of host mounts. This requires the installation ofvirtiofsd
on the host system to function.--squash
and--layers=false
options topodman build
at the same time is now allowed.--volume-driver
option topodman machine init
is now deprecated.Bugfixes
--sdnotify=healthy
option could panic when started (#22651).--sdnotify=healthy
option that exited quickly would sometimes return an error instead of notifying that the container was ready (#22760).podman system reset
command did not remove the containers/image blob cache (#22825).--cgroups=disabled
option was specified at container creation time (#20910)./etc/hosts
file in a container was not created with a newline at the end of the file (#22729).podman start
command could sometimes panic when starting a container in the stopped state.podman system renumber
command would fail if volumes existed when using thesqlite
database backend (#23052).podman container restore
command could not successfully restore a container in a pod.podman diff
would suggest using the--latest
option when using the remote Podman client (#23038).podman events
command was rarely unable to report errors that occurred (#23165).--cidfile
option.podman run
andpodman start
commands could throw strange errors if another Podman process stopped the container at a midpoint in the process of starting (#23246).podman system service
command could leak a mount on termination.podman images
(#23120).podman auto-update
andpodman system df
commands could fail when a container was removed while the command was running (#23279).podman machine init
command could panic when trying to decompress an empty file when preparing the VM image (#23281).podman ps --pod
andpodman pod stats
commands could sometimes fail when a pod was removed while the command was running (#23282).podman stats
andpodman pod stats
commands would sometimes exit with acontainer is stopped
error when showing all containers (or pod containers, forpod stats
) if a container stopped while the command was running (#23334).podman play kube
command could sometimes not properly clean up their network stacks (#21569).API
Misc
podman build
command when the-f
option is given, but points to a file that does not exist, have been improved (#22940).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.