-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update module github.com/labstack/echo/v4 to v4.9.0 [SECURITY] #156
base: master
Are you sure you want to change the base?
Update module github.com/labstack/echo/v4 to v4.9.0 [SECURITY] #156
Conversation
|
WalkthroughThe recent update to the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- go.mod (1 hunks)
Additional comments not posted (1)
go.mod (1)
9-9
: Approve the update and verify compatibility.The update from
v4.1.16
tov4.9.0
forjackfan.us.kg/labstack/echo/v4
addresses significant security vulnerabilities (CVE-2022-40083 and CVE-2020-36565). Ensure to verify the application's functionality with the new version to avoid any breaking changes.
This PR contains the following updates:
v4.1.16
->v4.9.0
GitHub Vulnerability Alerts
CVE-2022-40083
Labstack Echo v4.8.0 was discovered to contain an open redirect vulnerability via the Static Handler component. This vulnerability can be leveraged by attackers to cause a Server-Side Request Forgery (SSRF). Version 4.9.0 contains a patch for the issue.
CVE-2020-36565
Due to improper sanitization of user input on Windows, the static file handler allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.
Release Notes
labstack/echo (github.com/labstack/echo/v4)
v4.9.0
Compare Source
Security
Enhancements
v4.8.0
Compare Source
Most notable things
You can now add any arbitrary HTTP method type as a route #2237
You can add custom 404 handler for specific paths #2217
Enhancements
v4.7.2
Compare Source
Fixes
Enhancements
v4.7.1
Compare Source
Fixes
e.Static
,.File()
,c.Attachment()
being picky with paths starting with./
,../
and/
after 4.7.0 introduced echo.Filesystem support (Go1.16+) #2123Enhancements
v4.7.0
Compare Source
Enhancements
Fixes
General
go
directive ingo.mod
to 1.17 #2049v4.6.3
Compare Source
Fixes
4.6.2
#2066v4.6.2
Compare Source
Fixes
Enhancements
v4.6.1
Compare Source
Enhancements
v4.6.0
Compare Source
Introduced a new request logger middleware
to help with cases when you want to use some other logging library in your application.
Fixes
Enhancements
v4.5.0
Compare Source
Important notes
A BREAKING CHANGE is introduced for JWT middleware users.
The JWT library used for the JWT middleware had to be changed from github.com/dgrijalva/jwt-go to
github.com/golang-jwt/jwt due former library being unmaintained and affected by security
issues.
The github.com/golang-jwt/jwt project is a drop-in replacement, but supports only the latest 2 Go versions.
So for JWT middleware users Go 1.15+ is required. For detailed information please read #1940
To change the library imports in all .go files in your project replace all occurrences of
dgrijalva/jwt-go
withgolang-jwt/jwt
.For Linux CLI you can use:
Fixes
github.com/golang-jwt/jwt
#1946v4.4.0
Compare Source
Fixes
Enhancements
v4.3.0
Compare Source
Important notes
Fixes
Enhancements
v4.2.2
Compare Source
Fixes
v4.2.1
Compare Source
Important notes
Due to a datarace the config parameters for the newly added timeout middleware required a change.
See the docs.
A performance regression has been fixed, even bringing better performance than before for some routing scenarios.
Fixes
This release was made possible by our contributors:
aldas, clwluvw, lammel, Le0tk0k, maciej-jezierski, rkilingr, stffabi, withshubh
v4.2.0
Compare Source
Important notes
The behaviour for binding data has been reworked for compatibility with echo before v4.1.11 by
enforcing
explicit tagging
for processing parameters. This may break your code if youexpect combined handling of query/path/form params.
Please see the updated documentation for request and binding
The handling for rewrite rules has been slightly adjusted to expand
*
to a non-greedy(.*?)
capture group. This is only relevant if multiple asterisks are used in your rules.Please see rewrite and proxy for details.
Security
Enhancements
Fixes
General
This release was made possible by over 100 commits from more than 20 contributors:
asahasrabuddhe, aldas, AndrewKlotz, arun0009, chotow, curvegrid, iambenkay, imxyb,
juanbelieni, lammel, little-cui, lnenad, pafuent, pofl, pr0head, pwli, RashadAnsari,
rkfg, santosh653, segfiner, stffabi, ulasakdeniz
v4.1.17
Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.