Skip to content
New issue

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

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

Already on GitHub? # to your account

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 4, 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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


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

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

@renovate renovate bot added the dependencies label Dec 4, 2024
@renovate renovate bot requested a review from a team as a code owner December 4, 2024 21:20
@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 11, 2024
@renovate renovate bot force-pushed the renovate/github.heygears.com-labstack-echo-v4-4.x branch 2 times, most recently from 8612a36 to bfc03a2 Compare December 12, 2024 11:23
@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 12, 2024
Copy link
Contributor Author

renovate bot commented Dec 12, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated

Details:

Package Change
github.com/stretchr/testify v1.9.0 -> v1.10.0
golang.org/x/crypto v0.22.0 -> v0.31.0
golang.org/x/net v0.24.0 -> v0.33.0
golang.org/x/sys v0.19.0 -> v0.28.0
golang.org/x/text v0.14.0 -> v0.21.0
golang.org/x/time v0.5.0 -> v0.8.0

@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 19, 2024
@renovate renovate bot force-pushed the renovate/github.heygears.com-labstack-echo-v4-4.x branch from bfc03a2 to de9582a Compare December 19, 2024 08:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants