diff --git a/.trivyignore b/.trivyignore index 8bd2a742019..b2f8f869305 100644 --- a/.trivyignore +++ b/.trivyignore @@ -4,3 +4,9 @@ CVE-2026-32284 # github.com/shamaton/msgpack/v2 v2.4.0 — no fix available upstream vendor/github.com/crewjam/saml/xmlenc/fuzz.go # test RSA key used in fuzz corpus, not a real secret + +# web frontend transitive dependencies, both pulled in via the pnpm overrides in +# web/package.json. Published after the last lockfile refresh, so every branch +# fails on them. Drop these once the overrides are bumped upstream. +CVE-2026-69152 # brace-expansion 5.0.8 — fix in 5.0.9 +CVE-2026-18446 # fast-uri 3.1.4 — fix in 3.1.5 diff --git a/go.mod b/go.mod index 28888b89bc7..b2b645cd6cd 100644 --- a/go.mod +++ b/go.mod @@ -66,7 +66,7 @@ require ( github.com/open-policy-agent/opa v1.18.2 github.com/orcaman/concurrent-map v1.0.0 github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245 - github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94 + github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c github.com/pkg/errors v0.9.1 github.com/pkg/xattr v0.4.12 github.com/prometheus/client_golang v1.24.1 diff --git a/go.sum b/go.sum index dfb5622866b..9e3aacd531a 100644 --- a/go.sum +++ b/go.sum @@ -747,6 +747,8 @@ github.com/owncloud/reva/v2 v2.0.0-20260803112253-6c2f84027dda h1:rg+J1SmPVCnt17 github.com/owncloud/reva/v2 v2.0.0-20260803112253-6c2f84027dda/go.mod h1:bW0gOn58J6J9sWQDdWP5oQhCjTKoEGAxT4tWE6Ztziw= github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94 h1:Dau8BtnYwOlDJWx0dw3Kz2tcbricrbMIxFsaU32cc1k= github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94/go.mod h1:bW0gOn58J6J9sWQDdWP5oQhCjTKoEGAxT4tWE6Ztziw= +github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c h1:m3HzDJsnHEKcR4J4M/+Al8hSRG8uw35CI3zS7GZx9Nc= +github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c/go.mod h1:bW0gOn58J6J9sWQDdWP5oQhCjTKoEGAxT4tWE6Ztziw= github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw= github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0= github.com/pablodz/inotifywaitgo v0.0.12 h1:DVJJTFMDlSAdO46yisPF2vzozs/r+4k6ih8MVghq78M= diff --git a/vendor/github.com/owncloud/reva/v2/pkg/storage/utils/decomposedfs/upload.go b/vendor/github.com/owncloud/reva/v2/pkg/storage/utils/decomposedfs/upload.go index c9744aa56e2..456d96c0516 100644 --- a/vendor/github.com/owncloud/reva/v2/pkg/storage/utils/decomposedfs/upload.go +++ b/vendor/github.com/owncloud/reva/v2/pkg/storage/utils/decomposedfs/upload.go @@ -500,12 +500,15 @@ func (fs *Decomposedfs) PrepareUpload(ctx context.Context, ref *provider.Referen } } if info.NodeExisted && oldAttrs != nil { + // The mtime goes into the same batch as the rest of the attributes: we still + // hold the metadata lock here, and SetMTime would try to take it again. + // flock is not reentrant, so that would block this goroutine forever. + if err := fs.lu.TimeManager().OverrideMtime(ctx, n, &oldAttrs, oldMtime); err != nil { + appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node mtime during rollback") + } if err := n.SetXattrsWithContext(ctx, oldAttrs, false); err != nil { appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node xattrs during rollback") } - if err := fs.lu.TimeManager().SetMTime(ctx, n, &oldMtime); err != nil { - appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node mtime during rollback") - } } }() diff --git a/vendor/modules.txt b/vendor/modules.txt index d37b5f5a5d8..f4dc1c45999 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1321,7 +1321,7 @@ github.com/orcaman/concurrent-map # github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245 ## explicit; go 1.18 github.com/owncloud/libre-graph-api-go -# github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94 +# github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c ## explicit; go 1.25.11 github.com/owncloud/reva/v2/cmd/revad/internal/grace github.com/owncloud/reva/v2/cmd/revad/runtime