-
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 v4.8.0 #1816
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:4484ff5577ca06e70477d1bf5093d37a1307710b0a07243db375a4758b61c03f |
vulnerabilities | |
platform | linux/amd64 |
size | 33 MB |
packages | 168 |
github.com/opencontainers/runc
|
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 [email protected] 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
k8s.io/kubernetes 1.28.4
(golang)
pkg:golang/k8s.io/[email protected]
OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
Affected range | >1.16 |
Fixed version | 1.16 |
CVSS Score | 6.5 |
CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Description
Improper input validation in Kubernetes CSI sidecar containers for external-provisioner (<v0.4.3, <v1.0.2, v1.1, <v1.2.2, <v1.3.1), external-snapshotter (<v0.4.2, <v1.0.2, v1.1, <1.2.2), and external-resizer (v0.1, v0.2) could result in unauthorized PersistentVolume data access or volume mutation during snapshot, restore from snapshot, cloning and resizing operations.
Attempting automerge. See https://github.com/uniget-org/tools/actions/runs/7013050565. |
PR is clean and can be merged. See https://github.com/uniget-org/tools/actions/runs/7013050565. |
This PR contains the following updates:
4.7.2
->4.8.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
containers/podman (containers/podman)
v4.8.0
Compare Source
Features
CONTAINERS_MACHINE_PROVIDER
environment variable, or via containers.conf. HyperV requires Powershell to be run as Admin. Note that running WSL and HyperV machines at the same time is not supported.podman build
command now supports Containerfiles with heredoc syntax.podman login
andpodman logout
commands now support a new option,--compat-auth-file
, which allows for editing Docker-compatible config files (#18617).podman machine init
andpodman machine set
commands now support a new option,--usb
, which sets allows USB passthrough for the QEMU provider (#16707).--ulimit
option now supports setting -1 to indicate the maximum limit allowed for the current process (#19319).podman play kube
command now supports theBUILDAH_ISOLATION
environment variable to change build isolation when the--build
option is set (#20024).podman volume create
command now supports--opt o=size=XYZ
on tmpfs file systems (#20449).podman info
command for remote calls now reports client information even if the remote connection is unreachableprivileged
, to containers.conf, which sets the defaults for the--privileged
flag when creating, running or exec'ing into a container.podman kube play
command now supports setting DefaultMode for volumes (#19313).--opt
option to thepodman network create
command now accepts a new driver specific option,vrf
, which assigns a VRF to the bridge interface.--rdt-class=COS
has been added to thepodman create
andpodman run
commands that enables assigning a container to a Class Of Service (COS). The COS has to be pre-configured based on a pseudo-filesystem created by the resctrl kernel driver that enables interacting with the Intel RDT CAT feature.podman kube play
command now supports a new option,--publish-all
, which exposes all containerPorts on the host.label!=
, which filters for containers without the specified label.Upcoming Deprecations
containers.conf
settings when creating and managing containers.Changes
--help
option to thepodman push
command now shows the compression algorithm used.commit
command now shows progress messages (#19947).podman kube play
command now sets the pod hostname to the node/machine name when hostNetwork=true in k8s yaml (#19321).--tty,-t
option to thepodman exec
command now defines the TERM environment variable even if the container is not running with a terminal (#20334).helper_binaries_dir
option in containers.conf to lookup the init binary (catatonit).applehv
,qemu
,wsl
, andhyperv
are no longer valid Podman machine namesQuadlet
UIDMap
,GIDMap
,SubUIDMap
, andSubGIDMap
options in .container files.ReadOnlyTmpfs
option.ImageName
for .image files.--force
, to the stop command.oneshot
service type for .kube files, which allows yaml files without containers..image
.Bugfixes
--uts
and--network
options tohost
did not fill /etc/hostname with the host's name (#20448).build
command would incorrectly parse https paths (#20475).podman exec
command would leak sessions when the specified command does not existFixed a bug where thepodman exec
command would leak sessions when the specified command does not exist (#20392).podman history
command did not display the size of certain layers (#20375).--restart always/on-failure
would not correctly cleanup the netnsm on restart, resulting in leaked ips and network namespaces (#18615).podman top
command would incorrectly parse options (#19176).--read-only-tmpfs
option to thepodman run
command was incorrectly handled when the--read-only
option was set (#20225).--filter
option to thepodman images
command would not correctly filter ids, digests, or intermediates (#19966).--replace
option to thepodman run
command would print both the old and new container ID. Now, only the new container ID is printed.podman machine ls
command would show Creation time as LastUp time for machines that have never been booted. Now, new machines showNever
, with the json value being ZeroTime.podman build
command where the default pull policy was not set tomissing
(#20125).containers.conf
would lead to cleanup errors (#19938).podman kube play
command exposed all containerPorts on the host (#17028).podman farm update
command did not verify farm and connection existence before updating (#20080).--connection
option while theCONTAINER_HOST
environment variable was set. The active destination is not resolved with the correct priority, that is, CLI flags, env vars, ActiveService from containers.conf, RemoteURI (#15588).--env-host
option was not honoring the default from containers.confAPI
Misc
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.