Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/labstack/echo/v4 to v4.13.3 #707

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/labstack/echo/v4 v4.12.0 -> v4.13.3 age adoption passing confidence

Release Notes

labstack/echo (github.com/labstack/echo/v4)

v4.13.3

Compare Source

Security

v4.13.2

Compare Source

Security

v4.13.1

Compare Source

Fixes

v4.13.0

Compare Source

BREAKING CHANGE JWT Middleware Removed from Core use labstack/echo-jwt instead

The JWT middleware has been removed from Echo core due to another security vulnerability, CVE-2024-51744. For more details, refer to issue #​2699. A drop-in replacement is available in the labstack/echo-jwt repository.

Important: Direct assignments like token := c.Get("user").(*jwt.Token) will now cause a panic due to an invalid cast. Update your code accordingly. Replace the current imports from "github.com/golang-jwt/jwt" in your handlers to the new middleware version using "github.com/golang-jwt/jwt/v5".

Background:

The version of golang-jwt/jwt (v3.2.2) previously used in Echo core has been in an unmaintained state for some time. This is not the first vulnerability affecting this library; earlier issues were addressed in PR #​1946.
JWT middleware was marked as deprecated in Echo core as of v4.10.0 on 2022-12-27. If you did not notice that, consider leveraging tools like Staticcheck to catch such deprecations earlier in you dev/CI flow. For bonus points - check out gosec.

We sincerely apologize for any inconvenience caused by this change. While we strive to maintain backward compatibility within Echo core, recurring security issues with third-party dependencies have forced this decision.

Enhancements


Configuration

📅 Schedule: Branch creation - "on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Dec 9, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: auth/go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/labstack/echo/v4 v4.13.3
go: downloading golang.org/x/net v0.33.0
go: github.com/zoriya/kyoo/keibi imports
	github.com/zoriya/kyoo/keibi/dbc: cannot find module providing package github.com/zoriya/kyoo/keibi/dbc
go: github.com/zoriya/kyoo/keibi imports
	github.com/zoriya/kyoo/keibi/docs: cannot find module providing package github.com/zoriya/kyoo/keibi/docs

@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch 3 times, most recently from 4c1bc5f to 75a5a51 Compare December 14, 2024 17:39
@renovate renovate bot changed the title Update module github.com/labstack/echo/v4 to v4.13.0 fix(deps): update module github.com/labstack/echo/v4 to v4.13.0 Dec 14, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch 6 times, most recently from d37e188 to afe0b0e Compare December 16, 2024 12:24
@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.0 fix(deps): update module github.com/labstack/echo/v4 to v4.13.1 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from afe0b0e to c50d84f Compare December 17, 2024 06:16
@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.1 fix(deps): update module github.com/labstack/echo/v4 to v4.13.2 Dec 17, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch 10 times, most recently from c85dbef to 5ab37c8 Compare December 24, 2024 05:03
@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.2 fix(deps): update module github.com/labstack/echo/v4 to v4.13.3 Dec 24, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch 2 times, most recently from a0d53a2 to c6e8cf3 Compare December 30, 2024 01:44
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from c6e8cf3 to 058280d Compare December 30, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants