chore(deps): update module github.com/labstack/echo/v4 to v4.15.4 #47
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
go
good first issue
help wanted
invalid
npm
onice
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
maxpeterkaya/web-proxy!47
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-labstack-echo-v4-4.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v4.15.1→v4.15.4Release Notes
labstack/echo (github.com/labstack/echo/v4)
v4.15.4Compare Source
Security
Fixes GHSA-vfp3-v2gw-7wfq: an encoded path separator (
%2For%5C) in a static file URL could bypass route-level middleware (e.g. authentication on a sibling route) and disclose static files. BothStaticDirectoryHandler(used byStatic/StaticFS) and theStaticmiddleware are affected. Backport of the v5 fix (#3016, released in v5.2.1). Thanks to @a-tt-om and @oran-gugu for reporting.Make serving static file releated methods and middleware not unescape path by default - so how the way Router interprets paths and Static methods/middleware is consistent.
Given following situation:
Then requests to
/admin%2fprivate.txtwould not be matched toGET /admin/*route (routing does not look unescaped path) and static file serving will use unescaped path to serve the file.Note: this way of "guarding" subfolders will never work for for paths like
/assets/../admin%2fprivate.txtwhich willpath.Clean("/assets/../admin%2fprivate.txt")to/admin/private.txtand are servable if static file serving is configured to unescape paths.If you want to guard routes - use middlewares on
Static*methods and beforeStaticmiddleware.Breaking change / migration: If you serve files whose names contain URL-encoded characters (e.g.,
/hello%20world.txt→hello world.txt), you must now opt in:for static middleware
Full Changelog: https://github.com/labstack/echo/compare/v4.15.3...v4.15.4
v4.15.3: - Static encoded-separator route bypass fix (GHSA-vfp3-v2gw-7wfq)Compare Source
Security
Fixes GHSA-vfp3-v2gw-7wfq: an encoded path separator (
%2For%5C) in a static file URL could bypass route-level middleware (e.g. authentication on a sibling route) and disclose static files. BothStaticDirectoryHandler(used byStatic/StaticFS) and theStaticmiddleware are affected. Backport of the v5 fix (#3009, released in v5.2.0). Thanks to @a-tt-om and @oran-gugu for reporting.Full Changelog: https://github.com/labstack/echo/compare/v4.15.2...v4.15.3
v4.15.2: - Context.Scheme() header validationCompare Source
Security
Context.Scheme()should validate values taken from header by @aldas in #2962Thanks to @shblue21 for reporting this issue.
Full Changelog: https://github.com/labstack/echo/compare/v4.15.1...v4.15.2
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
ℹ️ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/labstack/gommonv0.4.2->v0.5.0github.com/mattn/go-colorablev0.1.14->v0.1.15github.com/mattn/go-isattyv0.0.20->v0.0.22golang.org/x/cryptov0.47.0->v0.53.0golang.org/x/netv0.49.0->v0.56.0golang.org/x/sysv0.40.0->v0.46.0golang.org/x/textv0.33.0->v0.38.0golang.org/x/timev0.14.0->v0.15.0chore(deps): update module github.com/labstack/echo/v4 to v4.15.2to chore(deps): update module github.com/labstack/echo/v4 to v4.15.305f2270d65toeed46c7e3cchore(deps): update module github.com/labstack/echo/v4 to v4.15.3to chore(deps): update module github.com/labstack/echo/v4 to v4.15.4eed46c7e3ctoab71f91f70View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.