This release includes a few fixes for MkdirAll when dealing with S_ISUID
and S_ISGID, to solve a regression runc hit when switching to MkdirAll.
Passing the S_ISUID or S_ISGID modes to MkdirAllInRoot will now return
an explicit error saying that those bits are ignored by mkdirat(2). In
the past a different error was returned, but since the silent ignoring
behaviour is codified in the man pages a more explicit error seems
apt. While silently ignoring these bits would be the most compatible
option, it could lead to users thinking their code sets these bits
when it doesn't. Programs that need to deal with compatibility can
mask the bits themselves. (#23, #25)
If a directory has S_ISGID set, then all child directories will have
S_ISGID set when created and a different gid will be used for any
inode created under the directory. Previously, the "expected owner and
mode" validation in securejoin.MkdirAll did not correctly handle this.
We now correctly handle this case. (#24, #25)
Passing the S_ISUID or S_ISGID modes to MkdirAllInRoot will now return
an explicit error saying that those bits are ignored by mkdirat(2). In the
past a different error was returned, but since the silent ignoring behaviour
is codified in the man pages a more explicit error seems apt. While silently
ignoring these bits would be the most compatible option, it could lead to
users thinking their code sets these bits when it doesn't. Programs that need
to deal with compatibility can mask the bits themselves. (#23, #25)
Fixed
If a directory has S_ISGID set, then all child directories will have
S_ISGID set when created and a different gid will be used for any inode
created under the directory. Previously, the "expected owner and mode"
validation in securejoin.MkdirAll did not correctly handle this. We now
correctly handle this case. (#24, #25)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the go-deps group with 8 updates:
0.3.1
0.3.2
0.10.0
0.10.1
1.6.0
1.6.1
0.20.0
0.21.0
0.20.0
0.21.0
0.13.0
0.13.1
0.49.0
0.49.1
0.14.0
0.14.1
Updates
github.com/cyphar/filepath-securejoin
from 0.3.1 to 0.3.2Release notes
Sourced from github.com/cyphar/filepath-securejoin's releases.
Changelog
Sourced from github.com/cyphar/filepath-securejoin's changelog.
Commits
e408943
VERSION: release v0.3.21c875f5
CHANGELOG: fix headersfdaafcc
merge #25 into cyphar/filepath-securejoin:main1acda83
mkdirall: correctly handle sgid directory parent8484faf
tests: mkdirall: refactor check and mkdirall helpers350d697
mkdirall: explicitly return an error for suid/sgid bits43b1026
tests: procfs: skip procfs tests if overmounting is blocked82e5725
VERSION: back to developmentUpdates
github.com/fluxcd/pkg/apis/event
from 0.10.0 to 0.10.1Commits
196a3ba
Merge pull request #93 from fluxcd/fix-le98bdf3b
Set leader election Lease duration to 35s1d56dd8
Merge pull request #92 from fluxcd/leaderelection-optionsc294d46
Add leader election config to runtime8ef4a8f
Merge pull request #91 from SomtochiAma/record-deepcopy9a29a95
Generate deepcopy method for event276ad93
Merge pull request #90 from SomtochiAma/runtime-suspend4efd97c
Uses suspendGuageec8435e
Merge pull request #89 from fluxcd/controller-runtime-v0.8.3f879c7e
Update controller-runtime to v0.8.3Updates
github.com/fluxcd/pkg/apis/meta
from 1.6.0 to 1.6.1Commits
c8165af
Merge pull request #809 from fluxcd/k8s-1.31.118924bf
Update controller-gen to v0.16.1735a85b
Update dependencies62475f1
Merge pull request #789 from dipti-pai/pkg-azure-git-wi-auth1686996
Support Azure OIDC authenticationa2a7a01
Merge pull request #808 from matheuscscp/oci-auth-proxy8b5c43a
Add proxy support for oci/auth logind467d6e
Merge pull request #807 from fluxcd/dependabot/github_actions/ci-6f7028051ea6b58a7
build(deps): bump the ci group with 2 updatesf0eb8aa
Merge pull request #806 from fluxcd/dependabot/github_actions/ci-fc48fdf541Updates
github.com/fluxcd/pkg/git
from 0.20.0 to 0.21.0Commits
7fe9789
Merge pull request #810 from fluxcd/up-int-depsf674386
Update internal dependenciesc8165af
Merge pull request #809 from fluxcd/k8s-1.31.118924bf
Update controller-gen to v0.16.1735a85b
Update dependencies62475f1
Merge pull request #789 from dipti-pai/pkg-azure-git-wi-auth1686996
Support Azure OIDC authenticationa2a7a01
Merge pull request #808 from matheuscscp/oci-auth-proxy8b5c43a
Add proxy support for oci/auth logind467d6e
Merge pull request #807 from fluxcd/dependabot/github_actions/ci-6f7028051eUpdates
github.com/fluxcd/pkg/git/gogit
from 0.20.0 to 0.21.0Commits
7fe9789
Merge pull request #810 from fluxcd/up-int-depsf674386
Update internal dependenciesc8165af
Merge pull request #809 from fluxcd/k8s-1.31.118924bf
Update controller-gen to v0.16.1735a85b
Update dependencies62475f1
Merge pull request #789 from dipti-pai/pkg-azure-git-wi-auth1686996
Support Azure OIDC authenticationa2a7a01
Merge pull request #808 from matheuscscp/oci-auth-proxy8b5c43a
Add proxy support for oci/auth logind467d6e
Merge pull request #807 from fluxcd/dependabot/github_actions/ci-6f7028051eUpdates
github.com/fluxcd/pkg/gittestserver
from 0.13.0 to 0.13.1Commits
3c08fca
Merge pull request #241 from fluxcd/patch-tounstructured5e55b75
runtime/patch: Make ToUnstructured() publicccbc687
Merge pull request #240 from fluxcd/runtime-apis-meta-update9c6ae69
chore: update apis/meta to v0.12.0aa13413
Merge pull request #238 from pjbgf/patch-18022296cf31a
Update github.com/prometheus/client_golang to v1.12.1 (CVE fix)7590657
Merge pull request #239 from fluxcd/runtime-patch-fieldownere9a4022
runtime/patch: add FieldOwner K8s client option5f45ff6
Merge pull request #235 from souleb/fix-stringdata-diff94fc3ea
convert StringData to dataUpdates
github.com/fluxcd/pkg/runtime
from 0.49.0 to 0.49.1Commits
7fe9789
Merge pull request #810 from fluxcd/up-int-depsf674386
Update internal dependenciesc8165af
Merge pull request #809 from fluxcd/k8s-1.31.118924bf
Update controller-gen to v0.16.1735a85b
Update dependencies62475f1
Merge pull request #789 from dipti-pai/pkg-azure-git-wi-auth1686996
Support Azure OIDC authenticationa2a7a01
Merge pull request #808 from matheuscscp/oci-auth-proxy8b5c43a
Add proxy support for oci/auth logind467d6e
Merge pull request #807 from fluxcd/dependabot/github_actions/ci-6f7028051eUpdates
github.com/fluxcd/pkg/ssh
from 0.14.0 to 0.14.1Commits
388dd66
Merge pull request #667 from fluxcd/update-git-deps2fed1fa
git/e2e: update dependencies6ad8798
git/gogit: update dependencies3b08f08
git: update dependenciesd2d97d5
Merge pull request #666 from fluxcd/optimize-refnamed6f0e93
git/gogit: use existing methods to clone branch/tag via refname4292046
Merge pull request #663 from fluxcd/tidy-nitse56a100
helmtestserver: check err beforeClose()
deferb6fd7cc
tar: remove unusedallowSymlink
8b924c3
tar: check err before continuing walkDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show