Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Conversation

zepeng811
Copy link

@zepeng811 zepeng811 commented Aug 12, 2024

Problem Description

We need to patch https://github.com/gin-contrib/cors to 1.6.0+ to address CVE-2019-25211

Solution

Executed the following to upgrade to the latest version (v1.7.2 as of Aug 12, 2024) for github.com/gin-contrib/cors

go get github.com/gin-contrib/[email protected]
go mod tidy

There should be no breaking changes according to the release notes from v1.4.0 -> v.1.7.2: https://github.com/gin-contrib/cors/releases

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant