Skip to content

Bump the all-dependencies group across 1 directory with 2 updates#150

Open
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/go_modules/all-dependencies-1d521d86e4
Open

Bump the all-dependencies group across 1 directory with 2 updates#150
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/go_modules/all-dependencies-1d521d86e4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Bumps the all-dependencies group with 2 updates in the / directory: golang.org/x/mod and golang.org/x/sync.

Updates golang.org/x/mod from 0.33.0 to 0.34.0

Commits
  • 1ac721d go.mod: update golang.org/x dependencies
  • fb1fac8 all: upgrade go directive to at least 1.25.0 [generated]
  • See full diff in compare view

Updates golang.org/x/sync from 0.19.0 to 0.20.0

Commits
  • ec11c4a errgroup: fix a typo in the documentation
  • 1a58307 all: modernize interface{} -> any
  • 3172ca5 all: upgrade go directive to at least 1.25.0 [generated]
  • See full diff in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Mar 16, 2026
jdomeracki-coder and others added 2 commits April 2, 2026 13:34
* fix: prevent zip-slip path traversal in AddExtension (GHSA-8x9r-hvwg-c55h)

ExtractZip passed raw zip entry names to a callback that wrote files
using filepath.Join with no boundary check, allowing a malicious VSIX
to write arbitrary files outside the extension directory (zip-slip /
CWE-22). The same issue existed in the extra-files loop.

Fix: open an os.Root on the target directory before extraction and
perform all writes through it. os.Root enforces containment at the
syscall level (openat), blocking "../" traversal, absolute paths,
symlink escapes, and TOCTOU races — unlike the lexical prefix-check
approach it replaces. Requires Go 1.24+, already the module minimum.

Two regression tests added (local backends only):
- AddExtensionZipTraversal: VSIX with a "../../../" entry is rejected
- AddExtensionExtraTraversal: extra File with traversal path is rejected

* Add test cases for absolute path and symlink traversal in AddExtension

Covers two additional attack vectors blocked by os.Root:
- Absolute paths (e.g. /tmp/evil) in zip entries and extra files
- Symlink inside the extension directory pointing outside the root

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Bump Go to 1.25.8 and replace mkdirAllRoot with root.MkdirAll

os.Root.MkdirAll was added in Go 1.25, removing the need for the
custom mkdirAllRoot helper and its infinite-recursion fix for absolute
paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Bumps the all-dependencies group with 2 updates in the / directory: [golang.org/x/mod](https://github.com/golang/mod) and [golang.org/x/sync](https://github.com/golang/sync).


Updates `golang.org/x/mod` from 0.33.0 to 0.34.0
- [Commits](golang/mod@v0.33.0...v0.34.0)

Updates `golang.org/x/sync` from 0.19.0 to 0.20.0
- [Commits](golang/sync@v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: golang.org/x/sync
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/all-dependencies-1d521d86e4 branch from ba651ea to 75eb96b Compare April 2, 2026 11:35
@jdomeracki-coder jdomeracki-coder force-pushed the main branch 2 times, most recently from 6a75570 to 3a9adbd Compare April 2, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant