Skip to content

Commit e0401ce

Browse files
authored
build(deps): bump github.com/cyphar/filepath-securejoin from 0.4.0 to 0.4.1 (#46)
Bumps [github.com/cyphar/filepath-securejoin](https://github.com/cyphar/filepath-securejoin) from 0.4.0 to 0.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cyphar/filepath-securejoin/releases">github.com/cyphar/filepath-securejoin's releases</a>.</em></p> <blockquote> <h2>v0.4.1</h2> <p>This release fixes a regression introduced in one of the hardening features added to filepath-securejoin 0.4.0.</p> <ul> <li>The restrictions added for <code>root</code> paths passed to <code>SecureJoin</code> in 0.4.0 was found to be too strict and caused some regressions when folks tried to update, so this restriction has been relaxed to only return an error if the path contains a <code>..</code> component. We still recommend users use <code>filepath.Clean</code> (and even <code>filepath.EvalSymlinks</code>) on the <code>root</code> path they are using, but at least you will no longer be punished for &quot;trivial&quot; unclean paths. (<a href="https://redirect.github.com/cyphar/filepath-securejoin/issues/46">#46</a>)</li> </ul> <p>Signed-off-by: Aleksa Sarai <a href="mailto:[email protected]">[email protected]</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cyphar/filepath-securejoin/blob/main/CHANGELOG.md">github.com/cyphar/filepath-securejoin's changelog</a>.</em></p> <blockquote> <h2>[0.4.1] - 2025-01-28</h2> <h3>Fixed</h3> <ul> <li>The restrictions added for <code>root</code> paths passed to <code>SecureJoin</code> in 0.4.0 was found to be too strict and caused some regressions when folks tried to update, so this restriction has been relaxed to only return an error if the path contains a <code>..</code> component. We still recommend users use <code>filepath.Clean</code> (and even <code>filepath.EvalSymlinks</code>) on the <code>root</code> path they are using, but at least you will no longer be punished for &quot;trivial&quot; unclean paths.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cyphar/filepath-securejoin/commit/7abd870410ccf784788af4f55c6413c9ef47222d"><code>7abd870</code></a> VERSION: release v0.4.1</li> <li><a href="https://github.com/cyphar/filepath-securejoin/commit/509a359825574ec98dcc71d46a7da70f6c2c4592"><code>509a359</code></a> merge <a href="https://redirect.github.com/cyphar/filepath-securejoin/issues/47">#47</a> into cyphar/filepath-securejoin:main</li> <li><a href="https://github.com/cyphar/filepath-securejoin/commit/fbaef26914475e0fc00ffc264810f27843a0046e"><code>fbaef26</code></a> join: loosen cleanliness requirements for SecureJoin root</li> <li><a href="https://github.com/cyphar/filepath-securejoin/commit/54460df8cb63e951ec6779792fc03917481e2587"><code>54460df</code></a> merge <a href="https://redirect.github.com/cyphar/filepath-securejoin/issues/45">#45</a> into cyphar/filepath-securejoin:main</li> <li><a href="https://github.com/cyphar/filepath-securejoin/commit/14e6cfe11c46b0db91ecdc35df660ef789333ced"><code>14e6cfe</code></a> VERSION: back to development</li> <li>See full diff in <a href="https://github.com/cyphar/filepath-securejoin/compare/v0.4.0...v0.4.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/cyphar/filepath-securejoin&package-manager=go_modules&previous-version=0.4.0&new-version=0.4.1)](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 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 <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) </details>
2 parents 4a92518 + a938b94 commit e0401ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/qubesome/cli
33
go 1.23.3
44

55
require (
6-
github.com/cyphar/filepath-securejoin v0.4.0
6+
github.com/cyphar/filepath-securejoin v0.4.1
77
github.com/go-git/go-git/v5 v5.13.2
88
github.com/google/uuid v1.6.0
99
github.com/stretchr/testify v1.10.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPd
1111
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
1212
github.com/cloudflare/circl v1.5.0 h1:hxIWksrX6XN5a1L2TI/h53AGPhNHoUBo+TD1ms9+pys=
1313
github.com/cloudflare/circl v1.5.0/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
14-
github.com/cyphar/filepath-securejoin v0.4.0 h1:PioTG9TBRSApBpYGnDU8HC+miIsX8vitBH9LGNNMoLQ=
15-
github.com/cyphar/filepath-securejoin v0.4.0/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI=
14+
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
15+
github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI=
1616
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1717
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1818
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

0 commit comments

Comments
 (0)