Update module github.com/containers/podman/v5 to v5.8.2 [SECURITY]#111
Open
bootc-bot[bot] wants to merge 1 commit intomainfrom
Open
Update module github.com/containers/podman/v5 to v5.8.2 [SECURITY]#111bootc-bot[bot] wants to merge 1 commit intomainfrom
bootc-bot[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Collaborator
|
Yeah none of these CVEs apply to us either... This whole thing is very much reinforcing my desire to use Rust for this project... |
8820ad6 to
07ca1ef
Compare
07ca1ef to
c30b8ad
Compare
cd37335 to
1c33b43
Compare
1c33b43 to
019d861
Compare
019d861 to
55bbc20
Compare
55bbc20 to
4db4c20
Compare
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
4db4c20 to
d48b80b
Compare
1621dcd to
6429160
Compare
6429160 to
ad15d54
Compare
ad15d54 to
d2e50c5
Compare
Signed-off-by: bootc-bot[bot] <225049296+bootc-bot[bot]@users.noreply.github.com>
d2e50c5 to
1e08422
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v5.0.1→v5.8.2Improper Input Validation in Buildah and Podman
CVE-2024-9407 / GHSA-fhqq-8f65-5xfc
More information
Details
A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files.
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Podman Improper Certificate Validation; machine missing TLS verification
CVE-2025-6032 / GHSA-65gg-3w2w-hr4h
More information
Details
Impact
The podman machine init command fails to verify the TLS certificate when downloading the VM images from an OCI registry (which it does by default since 5.0.0) allowing a possible Man In The Middle attack.
Patches
containers/podman@726b506
Fixed in v5.5.2
Workarounds
Download the disk image manually via some other tool that verifies the TLS connection. Then pass the local image as file path (podman machine init --image ./somepath)
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
podman kube play symlink traversal vulnerability
CVE-2025-9566 / GHSA-wp3j-xq48-xpjw
More information
Details
Impact
The podman kube play command can overwrite host files when the kube file contains a ConfigMap or Secret volume mount and the volume already contains a symlink to a host file.
This allows a malicious container to write to arbitrary files on the host BUT the attacker only controls the target path not the contents that will be written to the file. The contents are defined in the yaml file by the end user.
Requirements to exploit:
podman kube play must be used with a ConfigMap or Secret volume mount AND must be run more than once on the same volume. All the attacker has to do is create the malicious symlink on the volume the first time it is started. After that all following starts would follow the symlink and write to the host location.
Patches
Fixed in podman v5.6.1
containers/podman@43fbde4
Workarounds
Don't use podman kube play with ConfigMap or Secret volume mounts.
PR with test for CI
Adding on 9/8/2025 by @TomSweeneyRedHat , this is the PR containing the test ihttps://github.com/containers/podman/pull/27001/27001
Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
PowerShell Command Injection in Podman HyperV Machine
CVE-2026-33414 / GHSA-hc8w-h2mf-hp59
More information
Details
Summary
A command injection vulnerability exists in Podman's HyperV machine backend. The VM image path is inserted into a PowerShell double-quoted string without sanitization, allowing
$()subexpression injection.Affected Code
File:
pkg/machine/hyperv/stubber.go:647Root Cause
PowerShell evaluates
$()subexpressions inside double-quoted strings before executing the outer command. Thefmt.Sprintfcall places the user-controlled image path directly into double quotes without escaping or sanitization.Impact
An attacker who can control the VM image path (through a crafted machine name or image directory) can execute arbitrary PowerShell commands with the privileges of the Podman process on the Windows host. On typical Windows installations, this means SYSTEM-level code execution.
Patch
containers/podman@571c842
The affected code is only used on Windows, all other operating systems are not affected by this and can thus ignore the CVE patch.
Credit
We like to thank Sang-Hoon Choi (@KoreaSecurity) for reporting this issue to us.
Severity
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
containers/podman (github.com/containers/podman/v5)
v5.8.2Compare Source
Security
podman machine init --imagecommand when run on Windows using the Hyper-V backend can run Powershell-escaped commands from the user-specified image path on in a Powershell session on the host (GHSA-hc8w-h2mf-hp59).Bugfixes
unless-stoppedrestart policy would not restart after a reboot whenpodman-restart.servicewas enabled (#28152).Entrypoint=""in a Quadlet.containerfile did not clear the container's entrypoint (#28213).HealthCmdin a Quadlet.containerfile to a command that included double-quotes (") would result in a nonfunctional healthcheck due to a parsing issue (#28409).hostnetwork mode (#28289).API
shelldriver due to options from the default driver being improperly added.Misc
v5.8.1Compare Source
Bugfixes
db.sqlfile in Podman's storage directory todb.sql.bak(or similar) and reboot again with v5.8.1 to attempt another migration. Please contact the maintainers with any issues during migration and we will assist as able.v5.8.0Compare Source
Features
podman quadlet installcommand can now install files which contain multiple separate Quadlet files. The files must be separated with a---delimeter on a new line, and each section must begin with a# FileName=<name>line to name the new Quadlet (#27384)..containerfiles now support a new key,AppArmor, for configuring the container's AppArmor profile (#27095).podman artifact addcommand against apodman machineVM, if the path being loaded or built is shared into the VM, Podman will load it from the VM's filesystem instead of streaming the data through the REST API, improving performance (#26321).podman updatecommand now features a new option,--ulimit, to update container ulimits (#26381).podman execcommand now features a new option,--no-session, which disables tracking of the exec session to improve performance and startup time (#26588).Changes
podman system migrate --migrate-db, will manually force a migration.podman secret create -command no longer requires that the secret be provided through a pipe, and instead allows typing the secret through the terminal (#27879).Bugfixes
podman play kubewith a healthcheck using theinitialDelaySecondsoption would run healthchecks before the initial delay had expired (#27678).podman exportcommand would emit aMountevent instead of anExportevent.podman kube playcommand incorrectly handled precedence between environment variables set by both theenvFromandenvfields (#27287).podman kube playcommand would panic when parsing Pod YAML missing theimagefield (#27784).podman volume mountcommand returned empty paths when volumes were handled by a plugin driver (#27858).--rootfsinstead of from an image would show that they had a healthcheck in thestartingstate even if no healthcheck was defined (#27651).podman buildcommand's--pull=neweroption did not function correctly (#22845).RequiresMountsForfield in Quadlet.containerfiles incorrectly handled bind-mount paths which contained spaces.podman run --detach-keysoption did not accept an empty string (IE, no detach keys) (#27414).podman build --secret ... env=VARoption would incorrectly try to read the environment variable on the server side, instead of from the client (#27494).podman artifact pushandpodman artifact pullcommands ignored authentication credentials given by the--authfileoption (#27421).podman run --pod-id-fileoption was not properly validated, allowing the creation of containers in pods with improper user namespace configuration (#26848).API
GET /libpod/quadlets/{name}/file(print contents of a Quadlet file),GET /libpod/quadlets/{name}/exists(check if the given Quadlet exists),POST /libpod/quadlets(install one or more Quadlets),DELETE /libpod/quadlets(remove one or more Quadlets), andDELETE /libpod/quadlets/{name}(remove a single Quadlet).DELETE /secret/{name}instead ofDELETE /secrets/{name}(#27548).Misc
v5.7.1Compare Source
Bugfixes
podman system migratecommand could panic under certain circumstances when run rootless.podman kube playcommand could leak file descriptors.Misc
v5.7.0Compare Source
Security
Features
podman system serviceAPI server now support encrypting connections with TLS and mTLS, including client authentication by certificate (#24583).podman system connection addcommand can now create connections to TCP sockets with TLS and mTLS encryption.podman runandpodman createcommands now support two new options,--credsand--cert-dir, to manage logging into registries to pull images.podman kube playandpodman kube downcommands can now accept multiple files as input, creating or removing more than one pod or deployment with the same command (#26274).podman kube playcommand now supports a new option,--no-pod-prefix, to disable prefixing container names with pod names. Please note that this can cause pods to fail to create if the pod shares a name with a container (#26396).podman machine initcommand now supports a new option,--tls-verify, to control whether the machine image can be pulled from registries without a trusted TLS certificate, with the default beingtrue(TLS verification on) (#26517).podman image loadandpodman buildcommands against apodman machineVM, if the path being loaded or built is shared into the VM, Podman will load it from the VM's filesystem instead of streaming the data through the REST API, improving performance (#26321).k8s-filelog driver can now be specified with thelog_pathoption incontainers.conf.runtimes_flagsoption incontainers.conf.podman artifact removecommand can now accept multiple arguments, for example,podman artifact rm artifact1 artifact2.podman waitcommand now supports a new option,--return-on-first, which causespodman waitto return after any container matches the condition, as opposed to waiting for all containers to match (#26691).podman container restorecommand now supports a new option,--tcp-close, allowing containers with active TCP connections to be restored multiple times..artifact, allowing OCI artifacts to be managed with Quadlet (#25778)..containerfiles now support a new key,HttpProxy, to disable the automatic forwarding of HTTP proxy options from the host into the container (#26925)..podfiles now support a new key,StopTimeout, to configure the stop timeout for the pod (#27120)..buildfiles now support two new keys,BuildArgandIgnoreFile, to specify build arguments and an ignore file (#27065 and #27268)..kubefiles now support multiple YAML files in a single.kubefile.podman quadlet installcommand now supports a new option,--replace, which will replace any existing Quadlet with a conflicting name (#26930).podman quadlet printcommand now has a new alias,podman quadlet cat(#27296).podman artifact removecommand now supports the--alloption.podman artifact addcommand now supports a new option,--replace, which will replace any existing artifact with the given name (#27082).podman artifact rmcommand now supports a new option,--ignore, which will suppress errors when attempting to remove an artifact that does not exist (#27084).podman artifact listcommand now includes artifact creation time in its output (#27314).podman artifact list --formatoption now supports two new format keys,VirtualSize, returning the size of the artifact in integer bytes, andCreatedAt, returning the time the artifact was created as an RFC3339 timestamp (the existingSizeandCreatedfields returned human-readable information) (#27085).podman artifact inspectcommand now supports a new option,--format, to return specific information about an artifact with user-specified formatting (#27112).Changes
SUPPRESS_BOLTDB_WARNING=trueenvironment variable.-p/--publishand--network=ns:/pathoptions are used together when creating a container, Podman will not warn that the-poption will be ignored as an existing namespace is in use (this has always been the case, but Podman now prints a warning about it) (#26663).podman statscommand now provides additional information about container resource utilization when run on FreeBSD.--sysctloption topodman createandpodman run, and the--interface-nameoption topodman network create.org.opencontainers.image.createdannotation (#27081).podman inspectcommand can now inspect artifacts.podman artifact addcommand can now override theorg.opencontainers.image.titleannotation in created artifacts.--sign-by-sq-fingerprintoption allows signing images using Seqoia-PGP keys.Bugfixes
--filter ancestor=option topodman psrequired complete matches, unlike Docker (which matched substrings) (#26623).--filter label=option topodman eventsdid not support key-only matches (aspodman os --filter label=does) (#26702).Mountwas given without asourcebeing specified..buildfile when a systemd specifier was used in the[Build]section (#26746).podman infocommand could panic when/proc/sys/fs/binfmt_miscwas not mounted.podman run,podman exec,podman attach) due to a race condition (#26951).podman buildcommand was ignoring SBOM related options (#23915).--userns=ns:/pathoption topodman createandpodman runwas broken with runc 1.1.11 and higher (#27148).podman machineon Windows would always re-pull machine images when using the WSL provider, even if an the image had already been pulled and was present on disk.API
GET /libpod/quadlets/json).ContainerConfigfield. To access image configuration, use theConfigfield instead. This matches changes made by Docker in the v1.45 API.Content-Typeheader.Misc
--deviceoption (for example--device /dev/fuse::) is passed topodman createorpodman runhave been improved.v5.6.2Compare Source
Bugfixes
podman machine startcommand with SIGPIPE could result in machine state being stuck as "Starting" (#26949).podman buildwould fail with a permissions error when building Containerfiles using a non-root user and cache mounts (#27044).Misc
v5.6.1Compare Source
Security
podman play kubecontainingConfigMapandSecretvolumes can use crafted symlinks to overwrite content on the host.Bugfixes
journaldevents driver was in use.--security-opt seccomp=unconfinedoption was broken on Windows (#26855).container_name_as_hostnameoption incontainers.confset totruewould fail to start.Misc
/tmp, ensuring proper operation of Podman after a reboot if/tmpis not a tmpfs.v5.6.0Compare Source
Features
podman quadlet install(install a new Quadlet for the current user),podman quadlet list(list installed Quadlets),podman quadlet print(print the contents of a Quadlet file), andpodman quadlet rm(remove a Quadlet). These commands are presently not available with the remote Podman client - we expect support for this to arrive in a future release..containerunits can now specify environment variables without values in theEnvironment=key, retrieving the value from the host when the container is started (#26247)..podunits now support two new keys,Label=(to set labels on the created pod) andExitPolicy=(to set exit policy for the created pod) (#25961 and #25596)..imageunits now support a new key,Policy=, to set pull policy for the image (e.g. pull always, pull only if newer version available) (#26446)..networkunits now support a new key,InterfaceName=, to specify the name of the network interface created.podman machine initcommand now supports a new option,--swap, enabling swap in the created virtual machine and setting it to a given size (in megabytes) (#15980).--mountoption topodman createandpodman runnow supportsdest=as a valid alias fordestination=.podman kube playcommand can now restrict container execution to specific CPU cores and specific memory nodes using theio.podman.annotations.cpuset/$ctrnameandio.podman.annotations.memory-nodes/$ctrnameannotations (#26172).podman kube playcommand now supports thelifecycle.stopSignalfield in Pod YAML, allowing the signal used to stop containers to be specified (#25389).podman artifactsuite of commands for interacting with OCI artifacts is now available in the remote Podman client and the bindings for the REST API.podman volume importandpodman volume exportcommands are now available in the remote Podman client (#26049).--build-contextoption topodman buildis now supported by the remote Podman client (#23433).podman volume createcommand now accepts two new options,--uidand--gid, to set the UID and GID the volume will be created with.podman secret createcommand now has a new option,--ignore, causing the command to succeed even if a secret with the given name already exists.podman pullcommand now has a new option,--policy, to configure pull policy.--mount type=artifactoption topodman create,podman run, andpodman pod createnow allows the filename of the artifact in the container to be set using thename=option (e.g.podman run --mount type=artifact,name=$NAME,...).--tmpfsoption topodman createandpodman runnow allows a new option,noatime, to be passed (e.g.podman run --tmpfs /run:noatime ...) (#26102).podman updatecommand now has a new option,--latest, to update the latest container instead of specifying a specific container (#26380).podman buildx inspect, has been added to improve Docker compatibility (#13014).Breaking Changes
podman machineVMs has been disabled by default due to issues with newer Linux kernels. These issues have been addressed in the Tahoe beta, and we plan on re-enabling support for Rosetta in a future Podman release once the fix is in wider circulation. You can find more details here.Changes
podman artifactsuite of commands for interacting with OCI artifacts is now considered stable.podman machineVMs using thelibkrunprovider on an M3 or newer host running macOS 15+, nested virtualization is enabled by default.podman machineVMs on Windows using the WSL v2 provider, images are now pulled as artifacts fromquay.io/podman/machine-os, matching the behavior of other VM providers.--sig-proxyoption topodman runandpodman attachis now more robust to races and no longer forwards theSIGSTOPsignal.podman system check --quickcommand now skips checking layer digests.C:\Program Files\Windows Subsystem for Linux\wsl.exeover the one inWindowsApps, avoiding common “access denied” issues (#25787).--mount type=artifactoption topodman create,podman run, andpodman pod createnow mounts artifacts containing a only a single blob as a file at the given destination path if the path does not exist in the image.podman volume exportcommand now refuses to export toSTDOUTif it is a TTY (#26506).User=,Group=, andDynamicUser=in the[Service]section of a unit, Quadlet will now warn the user of the potential incompatibility (#26543).Bugfixes
--security-opt unmask=option topodman createandpodman rundid not allow comma-separated lists of paths to be passed, instead only allowing a single path.podman machine initcould fail if run in a Podman container (#25950).podman machineVMs would sometimes receive incorrect timezone information.podman machineVMs created with a custom username would not have lingering enabled.podman machine initcommand on Windows when using the WSL 2 provider did not reliably determine if WSL was installed (#25523)..podunits that did not specify thePodName=key was set incorrectly (#26062)..containerunits joining a pod specified in a.podunit would fail as the pod name was set incorrectly when creating the container (#26105).RequiresMountsForwhen mounting a.volumeunit withType=bindset into a container (#26125)..podfiles did not include the lastEnvironment=key in the[Service]section in the generated systemd service (#26521).--hooks-dirwould fail to run when containers were restarted (#17935).--mountoption topodman createandpodman runrequired thetype=option to be specified, instead of defaulting tovolumewhen it was not present (#26101).podman kube playcommand would fail on Windows when specifying an absolute path to YAML files (#26350).--security-opt seccomp=option topodman create,podman run, andpodman pod createcould error on Windows when given a path to a Seccomp profile (#26558).--blkio-weight-device,--device-read-bps,--device-write-bps,--device-read-iops, and--device-write-iopsoptions topodman createandpodman runincorrectly accepted non-block devices.podman buildcommand handled the--ignorefileoption differently from thebuildah budcommand (#25746).podman rm -fcommand could return an error when trying to remove a running container whoseconmonprocess had been killed (#26640).podman inspectcommand did not correctly display log size for containers whenlog_size_maxwas set in containers.conf.API
GET /libpod/artifacts/{name}/json), listing all artifacts (GET /libpod/artifacts/json), pulling an artifact (POST /libpod/artifacts/pull), removing an artifact (DELETE /libpod/artifacts/{name}), adding an artifact (or appending to an existing artifact) from a tar file in the request body (POST /libpod/artifacts/add), pushing an artifact to a registry (/libpod/artifacts/{name}/push), and retrieving the contents of an artifact (GET /libpod/artifacts/{name}/extract).HostConfig.CgroupnsMode, to specify the cgroup namespace mode of the created container.base_hosts_fileoption incontainers.conf.DefaultAddressPools.BuilderSizefield.Builder-Versionto1to match Docker installs that do not include BuildKit.shared-sizefield unconditionally, even if theshared-sizequery parameter was not set to true. If not requested through query parameter, it is set to-1. This improves Docker API compatibility.VirtualSizefield when Docker API version 1.44 and up is requested.FORCEparameter was set to true; Docker only removes stopped containers (#25871).application/jsonresponses would be HTML escaped, mutating some responses (e.g.<missing>becoming\u003cmissing\u003ein image history responses) (#17769).Misc
podman stop/podman pod stop.libsqlite3build tag to force this behavior when not using the Makefile to build.v5.5.2Compare Source
Security
podman machinewas, by default, not validated, allowing connections to servers with invalid certificates by default and potentially allowing a Man in the Middle attack.Bugfixes
v5.5.1Compare Source
Bugfixes
/could overmount important directories such as/proccausing start and/or runtime failures due to an issue with mount ordering (#26161)..podunits could fail to start due to their storage not being mounted (#26190).resolv.conf(#24713).--dns-optoption topodman create,podman run, andpodman pod createwould append options to the container'sresolv.conf, instead of replacing them (#22399).podman kube playcommand would add an empty network alias for containers created with no name specified, causing Netavark to emit extraneous warnings.podman system dfcommand would panic when one or more containers were created using a root filesystem (the--rootfsoption topodman createandpodman run) instead of from an image (#26224).log_tagfield incontainers.confwould override the--log-opt tag=valueoption topodman createandpodman run(#26236).podman volume rmandpodman volume inspectcommands would incorrectly handle volume names containing the_character when the SQLite database backend was in use (#26168).-v source:destination:O) (#25988).API
-1were causing errors, instead of being interpreted as the maximum possible value (#24886).[](an empty array) was ignored, instead of setting an empty entrypoint (#26078).Misc
v5.5.0Compare Source
Features
podman machine cp, to copy files into a runningpodman machineVM.podman artifact extract, to copy some or all of the contents of an OCI artifact to a location on disk.--mountoption topodman create,podman run, andpodman pod createnow supports a new mount type,--mount type=artifact, to mount OCI artifacts into containers.podman artifact addcommand now features two new options,--append(to add new files to an existing artifact) and--file-type(to specify the MIME type of the file added to the artifact) (#25884).podman artifact rmcommand now features a new option,--all, to remove all artifacts in the local store.--filteroption topodman pause,podman ps,podman restart,podman rm,podman start,podman stop, andpodman unpausenow accepts a new filter,command, which filters on the first element (argv[0]) of the command run in the container.podman execcommand now supports a new option,--cidfile, to specify the ID of the container to exec into via a file (#21256).podman kube generateandpodman kube playcommands now supports a new annotation,io.podman.annotation.pids-limit/$containername, preserving the PID limit for containers acrosskube generateandkube play(#24418)..containerunits now support three new keys,Memory=(set maximum memory for the created container),ReloadCmd(execute a command via systemdExecReload), andReloadSignal(kill the container with the given signal via systemdExecReload) (#22036)..container,.image, and.buildunits now support two new keys,Retry(number of times to retry pulling image on failure) andRetryDelay(delay between retries) (#25109)Configuration
📅 Schedule: (in timezone UTC)
🚦 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 Mend Renovate.