-
Notifications
You must be signed in to change notification settings - Fork 70
Description
The update in #237 bumped github.com/cyphar/filepath-securejoin to v0.6.0 but that version contains breaking changes as the top level MkdirAll, MkdirAllHandle, OpenInRoot, OpenatInRoot and
Reopen function were removed.
In practise this causes a big problem update wise since in order to fix the CVE we cannot just bump to github.com/opencontainers/selinux v1.13.0 as that triggers the transitive update of filepath-securejoin.
This means we cannot update in podman and buildah directly because we have at least one other library using these symbols, namely https://github.com/containers/storage who was recently moved into a monorepo which now uses the module path go.podman.io/storage.
Since storage is a critical library to podman we cannot just bump the latest version and update to that in podman, buildah either. We would need to version lock that with the corresponding still supported podman/buildah versions meaning a ton of backporting and release churn work for AFAICT no real gain.
The runc CVE fix was released with github.com/cyphar/filepath-securejoin 0.5.0 so I assume that has already sufficient protection? @cyphar can you confirm this? Using 0.5.1 here would also work.
If a downgrade on main is not possible or wanted would it be possible to branch, downgrade there and then maybe release as 1.12.1 here instead? That will not cause problems for people already on 1.13.0 as they would not get this as an update then.