fix(deps): update module github.com/gin-contrib/cors to v1.6.0 [security]#207
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update module github.com/gin-contrib/cors to v1.6.0 [security]#207renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
47bf733 to
d4b9050
Compare
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.3.0→v1.6.0Gin mishandles a wildcard at the end of an origin string
CVE-2019-25211 / GHSA-869c-j7wc-8jqv / GO-2024-2955
More information
Details
parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Gin mishandles a wildcard in the origin string in github.com/gin-contrib/cors
CVE-2019-25211 / GHSA-869c-j7wc-8jqv / GO-2024-2955
More information
Details
Gin-Gonic CORS middleware mishandles a wildcard at the end of an origin string. Examples: https://example.community/* is accepted by the origin string https://example.com/* and http://localhost.example.com/* is accepted by the origin string http://localhost/* .
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
Release Notes
gin-contrib/cors (github.com/gin-contrib/cors)
v1.6.0Compare Source
Changelog
Features
eac6c48feat(schema): allow usage of custom schemas (#139)Bug fixes
27b723afixe(domain): wildcard parse bug (#106 and #57) @maxshine and @HvitgarEnhancements
f41df75chore: update GitHub actions to latest versions2451987chore: update dependencies to latest versions7d356c2chore: update dependencies to latest versions5da0aeechore: update third-party dependencies8263fcechore: update version of actions/setup-go in GitHub workflowsOthers
fcbd06fci: enhance testing matrix and tolerance limitsf08c1bcci: refactor CI workflows and improve tests30792dcci: refactor GitHub Actions workflows0e993b7ci: update GitHub Actions to Version 390a7c66test(cors): enhance CORS wildcard handling tests (#145)85bf9fbtest: improve CORS wildcard handling and testing (#144)d5002f2test: refactor tests and update CI configurationsv1.5.0Compare Source
Changelog
Features
0eaf9a0feat: adds support for private network header (#128)Enhancements
c1983b2chore(CI): add go1.20 version1d5e083chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#112)f8b2357chore(options): Added availability to set 200/204 for OPTIONS request status (#129)f92a222chore: Add go 1.19 and upgrade lint version to v1.4995df7c6chore: removedepguardlinter and rename example file7ac4445chore: update GitHub Actions configuration filesbbf67cdchore: update Go version and setup-go actionb216599chore: updategoreleaser/goreleaser-actionto version v4765e44echore: update dependencies to latest versionsbf2c9dfchore: update linter configuration and changelog titlesbbb26b0chore: update supported versions of GoOthers
5914b2fbuild: update Go version and dependenciesv1.4.0Compare Source
Changelog
Features
5b27983feat(CodeQL): Discover vulnerabilities across a codebase with CodeQLEnhancements
325df81chore(CD): enable goreleaser config.5accef4chore(deps): bump actions/cache from 2 to 3cedad5echore(deps): bump actions/setup-go from 2 to 38184331chore(deps): bump codecov/codecov-action from 2 to 347f683echore(deps): bump github.com/gin-gonic/gin from 1.7.4 to 1.7.77d68a03chore(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.8.09b7410echore(deps): bump github.com/gin-gonic/gin from 1.8.0 to 1.8.1ca6f720chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1702bae0chore(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.4c2bfc87chore(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5875173cchore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.082da019chore(deps): bump github/codeql-action from 1 to 29310fb6chore(deps): bump golangci/golangci-lint-action from 2 to 34f7d392chore(deps): bump goreleaser/goreleaser-action from 2 to 36fb0a95chore(lint): add golang lint config693ce4achore(lint): upgrade golanci-lint to v1.43.0c43bb15chore: add go1.15.xca250ecchore: add go1.16 versionda40934chore: move from Travis to GitHub Actions206c7ddchore: update go module2d0be6achore: update the default methods comment88812e7chore: update travis316ffeachore: upgrade checkout version to v32e2ab4achore: upgrade golangci to v1.42.1Others
73a1e3bAdd OPTIONS Method To AllowMethods (#76)e2aad09Add Power Support ppc64le (#72)e89e0ceBump github.com/gin-gonic/gin from 1.6.2 to 1.7.01d1f0afChange comparison with assignment in comment line9b78b37Document update (#79)8c02baaDon't modify the config in Validate (#71)59ebec5Merge pull request #101 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.4e25be70Merge pull request #102 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.519fdbffMerge pull request #104 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.8.056e21d0Merge pull request #77 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.7.01174f0fMerge pull request #82 from nlatham1999/masterc1ca09fMerge pull request #85 from andregri/patch-12a40866Merge pull request #88 from parsaakbari1209/patch-1a79def0Merge pull request #89 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.107b31a1Merge pull request #90 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.7.73e06085Merge pull request #91 from gin-contrib/dependabot/github_actions/github/codeql-action-28e881b2Merge pull request #92 from gin-contrib/dependabot/github_actions/actions/setup-go-36e9a2e1Merge pull request #93 from gin-contrib/dependabot/github_actions/codecov/codecov-action-3a1ba4f8Merge pull request #94 from gin-contrib/dependabot/github_actions/golangci/golangci-lint-action-38d4394eMerge pull request #95 from gin-contrib/dependabot/github_actions/actions/cache-3c4b1d45Merge pull request #96 from gin-contrib/dependabot/github_actions/goreleaser/goreleaser-action-31a71ba7Merge pull request #97 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.01cb620bMerge pull request #99 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.1028d2d3Update README.md0223cb8Update gin dependency to 1.6.2 (#63)74e9a66Update go.modaead5eachangesdab984bchore(CI/CD): add dependabot035db04chore(CI/CD): add go1.18 version471fc54chore(CI/CD): remove 1.13 versionaa5c43dreverting64faa2bsync Config.ExposeHeaders & comment (#74)062ab01test: remove macos versionv1.3.1Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, 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.