Skip to content

Commit 2e56bfb

Browse files
chore(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.0 (#357)
Bumps [github.com/moby/go-archive](https://github.com/moby/go-archive) from 0.2.0 to 0.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/moby/go-archive/releases">github.com/moby/go-archive's releases</a>.</em></p> <blockquote> <h2>v0.3.0</h2> <h2>Security</h2> <p>This release fixes <strong>CVE-2026-17106</strong> / <strong><a href="https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h">GHSA-hfg8-hc9c-6c3h</a></strong>, where a crafted tar archive could use links to cause extraction operations to create or overwrite files outside the intended destination directory.</p> <p>The issue affected <code>Unpack</code>, <code>UnpackLayer</code>, <code>Untar</code>, <code>UntarUncompressed</code>, and the <code>ApplyLayer</code> helpers. Users should upgrade and avoid extracting untrusted archives with earlier versions.</p> <h2>What's Changed</h2> <ul> <li>archive: harden tar extraction against path traversal <a href="https://redirect.github.com/moby/go-archive/pull/45">moby/go-archive#45</a></li> <li>archive: do not follow reparse points in chtimes <a href="https://redirect.github.com/moby/go-archive/pull/90">moby/go-archive#90</a></li> <li>archive: fix creation time updates on Windows <a href="https://redirect.github.com/moby/go-archive/pull/79">moby/go-archive#79</a></li> <li>archive: minor cleanups and godoc touch-up <a href="https://redirect.github.com/moby/go-archive/pull/87">moby/go-archive#87</a></li> <li>archive: RebaseArchiveEntries: fix archive path rebasing <a href="https://redirect.github.com/moby/go-archive/pull/43">moby/go-archive#43</a></li> </ul> <h2>Test and CI changes</h2> <ul> <li>ci: enable dependabot for actions <a href="https://redirect.github.com/moby/go-archive/pull/81">moby/go-archive#81</a></li> <li>archive: make breakoutErr unwrap its cause <a href="https://redirect.github.com/moby/go-archive/pull/91">moby/go-archive#91</a></li> <li>archive: use filepath for filesystem paths in tests <a href="https://redirect.github.com/moby/go-archive/pull/80">moby/go-archive#80</a></li> <li>archive: use filepath for filesystem paths in tests <a href="https://redirect.github.com/moby/go-archive/pull/80">moby/go-archive#80</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/moby/go-archive/compare/v0.2.1...v0.3.0">https://github.com/moby/go-archive/compare/v0.2.1...v0.3.0</a></p> <h2>v0.2.1</h2> <h2>What's Changed</h2> <ul> <li>reject out-of-range device numbers in layer <a href="https://redirect.github.com/moby/go-archive/pull/36">moby/go-archive#36</a></li> <li>createImpliedDirectories: fix directory detection and path handling <a href="https://redirect.github.com/moby/go-archive/pull/44">moby/go-archive#44</a></li> <li>createImpliedDirectories: honor NoLchown for implied directories <a href="https://redirect.github.com/moby/go-archive/pull/70">moby/go-archive#70</a></li> <li>createTarFile: use switch for timestamp updates <a href="https://redirect.github.com/moby/go-archive/pull/67">moby/go-archive#67</a></li> <li>drop redundant ExcludePatterns initialization <a href="https://redirect.github.com/moby/go-archive/pull/62">moby/go-archive#62</a></li> <li>ExportChanges: use POSIX / Unix conventions for Tar operations <a href="https://redirect.github.com/moby/go-archive/pull/41">moby/go-archive#41</a></li> <li>getInodeFromStat: return error on failure <a href="https://redirect.github.com/moby/go-archive/pull/50">moby/go-archive#50</a></li> <li>overlayWhiteoutConverter.ConvertRead: avoid redundant chown <a href="https://redirect.github.com/moby/go-archive/pull/55">moby/go-archive#55</a></li> <li>overlayWhiteoutConverter.ConvertWrite: explicitly use POSIX / Unix <a href="https://redirect.github.com/moby/go-archive/pull/38">moby/go-archive#38</a></li> <li>overlayWhiteoutConverter.ConvertWrite: simplify directory check <a href="https://redirect.github.com/moby/go-archive/pull/34">moby/go-archive#34</a></li> <li>overlayWhiteoutConverter: fixes and cleanups <a href="https://redirect.github.com/moby/go-archive/pull/52">moby/go-archive#52</a></li> <li>RebaseArchiveEntries: use POSIX / Unix paths <a href="https://redirect.github.com/moby/go-archive/pull/42">moby/go-archive#42</a></li> <li>tarAppender.addTarFile: normalize archivePath to POSIX <a href="https://redirect.github.com/moby/go-archive/pull/40">moby/go-archive#40</a></li> <li>tarAppender.addTarFile: return error before writing header <a href="https://redirect.github.com/moby/go-archive/pull/51">moby/go-archive#51</a></li> <li>TarOptions: document IncludeFiles, ExcludePatterns <a href="https://redirect.github.com/moby/go-archive/pull/61">moby/go-archive#61</a></li> <li>Unpack: prevent nil-pointer if nil-options are passed <a href="https://redirect.github.com/moby/go-archive/pull/66">moby/go-archive#66</a></li> <li>remove some intermediate vars <a href="https://redirect.github.com/moby/go-archive/pull/53">moby/go-archive#53</a></li> <li>rename some vars to prevent shadowing &quot;path&quot; import <a href="https://redirect.github.com/moby/go-archive/pull/35">moby/go-archive#35</a></li> <li>rename vars to prevent shadowing and for clarity <a href="https://redirect.github.com/moby/go-archive/pull/39">moby/go-archive#39</a></li> <li>fix typos in comments <a href="https://redirect.github.com/moby/go-archive/pull/59">moby/go-archive#59</a></li> <li>modernize code <a href="https://redirect.github.com/moby/go-archive/pull/30">moby/go-archive#30</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/moby/go-archive/commit/1c23372e409716c3691a540871806083644f348a"><code>1c23372</code></a> Merge pull request <a href="https://redirect.github.com/moby/go-archive/issues/43">#43</a> from thaJeztah/fix_rebase_from_root</li> <li><a href="https://github.com/moby/go-archive/commit/8829a251b613c4f71e8d66a4d7561ac47d7879ae"><code>8829a25</code></a> RebaseArchiveEntries: fix archive path rebasing</li> <li><a href="https://github.com/moby/go-archive/commit/c583b20c9c4c442597ca897b9f66d2280e16ff8b"><code>c583b20</code></a> Merge pull request <a href="https://redirect.github.com/moby/go-archive/issues/90">#90</a> from thaJeztah/chtimes_nofollow</li> <li><a href="https://github.com/moby/go-archive/commit/a0576cbfb800af90375daf73aaf785bbfa4daa72"><code>a0576cb</code></a> archive: do not follow reparse points in chtimes</li> <li><a href="https://github.com/moby/go-archive/commit/b0d5baf0b7665618751942678c3f241ac22e82c4"><code>b0d5baf</code></a> archive: add test for unexpected reparse points in chtimes</li> <li><a href="https://github.com/moby/go-archive/commit/c23e4e565e1dd2941e8782f3d20ea613dd632064"><code>c23e4e5</code></a> Merge pull request <a href="https://redirect.github.com/moby/go-archive/issues/79">#79</a> from thaJeztah/test_chtimes</li> <li><a href="https://github.com/moby/go-archive/commit/aa1541a0af4d8d2a3183e69b847c54db9cd2e78e"><code>aa1541a</code></a> archive: fix creation time updates on Windows</li> <li><a href="https://github.com/moby/go-archive/commit/c68e60d59e3aef1ce3f881fc438058a418189152"><code>c68e60d</code></a> archive: add Windows creation time test</li> <li><a href="https://github.com/moby/go-archive/commit/a11565d1683c22864784efdaaffc4d770601b31e"><code>a11565d</code></a> Merge pull request <a href="https://redirect.github.com/moby/go-archive/issues/91">#91</a> from thaJeztah/breakout_unwrap</li> <li><a href="https://github.com/moby/go-archive/commit/b680a6145296afddd9e31abec3e6c2d655e441b6"><code>b680a61</code></a> Merge pull request <a href="https://redirect.github.com/moby/go-archive/issues/89">#89</a> from moby/dependabot/github_actions/codeql-actions-ba9...</li> <li>Additional commits viewable in <a href="https://github.com/moby/go-archive/compare/v0.2.0...v0.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/moby/go-archive&package-manager=go_modules&previous-version=0.2.0&new-version=0.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/get-eventually/go-eventually/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 12091bb commit 2e56bfb

4 files changed

Lines changed: 22 additions & 113 deletions

File tree

‎examples/todolist/go.mod‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ require (
99
github.com/get-eventually/go-eventually v0.4.0
1010
github.com/google/uuid v1.6.0
1111
github.com/kelseyhightower/envconfig v1.4.0
12-
google.golang.org/protobuf v1.36.11
12+
google.golang.org/protobuf v1.36.12
1313
)
1414

1515
require (
16-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
1716
github.com/kr/pretty v0.3.1 // indirect
18-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
1917
github.com/rogpeppe/go-internal v1.14.1 // indirect
20-
github.com/stretchr/testify v1.11.1 // indirect
18+
github.com/stretchr/testify v1.12.0 // indirect
2119
golang.org/x/sync v0.20.0 // indirect
20+
google.golang.org/genproto v0.0.0-20260810153831-ec0a7760b754 // indirect
2221
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
2322
gopkg.in/yaml.v3 v3.0.1 // indirect
2423
)

‎examples/todolist/go.sum‎

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ connectrpc.com/grpchealth v1.4.0/go.mod h1:WhW6m1EzTmq3Ky1FE8EfkIpSDc6TfUx2M2KqZ
55
connectrpc.com/grpcreflect v1.3.0 h1:Y4V+ACf8/vOb1XOc251Qun7jMB75gCUNw6llvB9csXc=
66
connectrpc.com/grpcreflect v1.3.0/go.mod h1:nfloOtCS8VUQOQ1+GTdFzVg2CJo4ZGaat8JIovCtDYs=
77
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
8-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
9-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
108
github.com/get-eventually/go-eventually v0.4.0 h1:YmTYVR1acQO0ZL/KPUiy/J6ETitBiqIvuoZJAGmWbm0=
119
github.com/get-eventually/go-eventually v0.4.0/go.mod h1:sp7/2JOA7HCwVhhmoYOIq51Re0GLZ6tsxoSs8i8V01I=
1210
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
@@ -23,19 +21,17 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
2321
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
2422
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
2523
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
26-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
27-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2824
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
2925
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
3026
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
31-
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
32-
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
27+
github.com/stretchr/testify v1.12.0 h1:K6Mr6jO9JICuend/5xzTM03ydSV3vdNRYAdPSukj8uI=
28+
github.com/stretchr/testify v1.12.0/go.mod h1:bOYBZb5qJ00vPzWfIqBUZPaxK8jWiXc6d3ErP4Ca9Gw=
3329
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
3430
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
35-
google.golang.org/genproto v0.0.0-20260420184626-e10c466a9529 h1:QoMBg0moLIlB/eucPzc+ID5SgPZWuirtjAn3l8nW2Dg=
36-
google.golang.org/genproto v0.0.0-20260420184626-e10c466a9529/go.mod h1:EjLmDZ8liSLBrCTK5vP+bGIxRQHE3ovGvOI0CzGk1PI=
37-
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
38-
google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
31+
google.golang.org/genproto v0.0.0-20260810153831-ec0a7760b754 h1:Kj7g/XOpdB2mzcVV92AFeNKvYR5WRNpxfX5Mj3wQ2SM=
32+
google.golang.org/genproto v0.0.0-20260810153831-ec0a7760b754/go.mod h1:UpDDw2l68z31m5UZN/Qi0Kow16ohhlJVlmqC3qRM5Q8=
33+
google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc=
34+
google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
3935
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4036
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
4137
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

‎go.mod‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ require (
3232
github.com/containerd/log v0.1.0 // indirect
3333
github.com/containerd/platforms v0.2.1 // indirect
3434
github.com/cpuguy83/dockercfg v0.3.2 // indirect
35-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3635
github.com/distribution/reference v0.6.0 // indirect
3736
github.com/docker/docker v28.5.2+incompatible // indirect
3837
github.com/docker/go-connections v0.7.0 // indirect
@@ -52,23 +51,22 @@ require (
5251
github.com/jackc/pgtype v1.14.4 // indirect
5352
github.com/jackc/pgx/v4 v4.18.3 // indirect
5453
github.com/jackc/puddle/v2 v2.2.2 // indirect
55-
github.com/klauspost/compress v1.18.6 // indirect
54+
github.com/klauspost/compress v1.18.7 // indirect
5655
github.com/lib/pq v1.12.3 // indirect
5756
github.com/lufia/plan9stats v0.0.0-20260330125221-c963978e514e // indirect
5857
github.com/magiconair/properties v1.8.10 // indirect
5958
github.com/moby/docker-image-spec v1.3.1 // indirect
60-
github.com/moby/go-archive v0.2.0 // indirect
59+
github.com/moby/go-archive v0.3.0 // indirect
6160
github.com/moby/moby/api v1.55.0 // indirect
6261
github.com/moby/moby/client v0.5.0 // indirect
6362
github.com/moby/patternmatcher v0.6.1 // indirect
6463
github.com/moby/sys/sequential v0.7.0 // indirect
65-
github.com/moby/sys/user v0.4.0 // indirect
64+
github.com/moby/sys/user v0.4.1 // indirect
6665
github.com/moby/sys/userns v0.1.0 // indirect
6766
github.com/moby/term v0.5.2 // indirect
6867
github.com/morikuni/aec v1.1.0 // indirect
6968
github.com/opencontainers/go-digest v1.0.0 // indirect
7069
github.com/opencontainers/image-spec v1.1.1 // indirect
71-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
7270
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
7371
github.com/shirou/gopsutil/v4 v4.26.6 // indirect
7472
github.com/sirupsen/logrus v1.9.4 // indirect

0 commit comments

Comments
 (0)