Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Nov 26, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/gin-contrib/cors v1.3.0 -> v1.6.0 age confidence

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


Gin 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 Score: 9.3 / 10 (Critical)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

gin-contrib/cors (github.com/gin-contrib/cors)

v1.6.0

Compare Source

Changelog

Features
Bug fixes
Enhancements
  • f41df75 chore: update GitHub actions to latest versions
  • 2451987 chore: update dependencies to latest versions
  • 7d356c2 chore: update dependencies to latest versions
  • 5da0aee chore: update third-party dependencies
  • 8263fce chore: update version of actions/setup-go in GitHub workflows
Others
  • fcbd06f ci: enhance testing matrix and tolerance limits
  • f08c1bc ci: refactor CI workflows and improve tests
  • 30792dc ci: refactor GitHub Actions workflows
  • 0e993b7 ci: update GitHub Actions to Version 3
  • 90a7c66 test(cors): enhance CORS wildcard handling tests (#​145)
  • 85bf9fb test: improve CORS wildcard handling and testing (#​144)
  • d5002f2 test: refactor tests and update CI configurations

v1.5.0

Compare Source

Changelog

Features
Enhancements
  • c1983b2 chore(CI): add go1.20 version
  • 1d5e083 chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#​112)
  • f8b2357 chore(options): Added availability to set 200/204 for OPTIONS request status (#​129)
  • f92a222 chore: Add go 1.19 and upgrade lint version to v1.49
  • 95df7c6 chore: remove depguard linter and rename example file
  • 7ac4445 chore: update GitHub Actions configuration files
  • bbf67cd chore: update Go version and setup-go action
  • b216599 chore: update goreleaser/goreleaser-action to version v4
  • 765e44e chore: update dependencies to latest versions
  • bf2c9df chore: update linter configuration and changelog titles
  • bbb26b0 chore: update supported versions of Go
Others
  • 5914b2f build: update Go version and dependencies

v1.4.0

Compare Source

Changelog

Features
  • 5b27983 feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL
Enhancements
  • 325df81 chore(CD): enable goreleaser config.
  • 5accef4 chore(deps): bump actions/cache from 2 to 3
  • cedad5e chore(deps): bump actions/setup-go from 2 to 3
  • 8184331 chore(deps): bump codecov/codecov-action from 2 to 3
  • 47f683e chore(deps): bump github.com/gin-gonic/gin from 1.7.4 to 1.7.7
  • 7d68a03 chore(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.8.0
  • 9b7410e chore(deps): bump github.com/gin-gonic/gin from 1.8.0 to 1.8.1
  • ca6f720 chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
  • 702bae0 chore(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.4
  • c2bfc87 chore(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5
  • 875173c chore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
  • 82da019 chore(deps): bump github/codeql-action from 1 to 2
  • 9310fb6 chore(deps): bump golangci/golangci-lint-action from 2 to 3
  • 4f7d392 chore(deps): bump goreleaser/goreleaser-action from 2 to 3
  • 6fb0a95 chore(lint): add golang lint config
  • 693ce4a chore(lint): upgrade golanci-lint to v1.43.0
  • c43bb15 chore: add go1.15.x
  • ca250ec chore: add go1.16 version
  • da40934 chore: move from Travis to GitHub Actions
  • 206c7dd chore: update go module
  • 2d0be6a chore: update the default methods comment
  • 88812e7 chore: update travis
  • 316ffea chore: upgrade checkout version to v3
  • 2e2ab4a chore: upgrade golangci to v1.42.1
Others
  • 73a1e3b Add OPTIONS Method To AllowMethods (#​76)
  • e2aad09 Add Power Support ppc64le (#​72)
  • e89e0ce Bump github.com/gin-gonic/gin from 1.6.2 to 1.7.0
  • 1d1f0af Change comparison with assignment in comment line
  • 9b78b37 Document update (#​79)
  • 8c02baa Don't modify the config in Validate (#​71)
  • 59ebec5 Merge pull request #​101 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.4
  • e25be70 Merge pull request #​102 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.5
  • 19fdbff Merge pull request #​104 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.8.0
  • 56e21d0 Merge pull request #​77 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.7.0
  • 1174f0f Merge pull request #​82 from nlatham1999/master
  • c1ca09f Merge pull request #​85 from andregri/patch-1
  • 2a40866 Merge pull request #​88 from parsaakbari1209/patch-1
  • a79def0 Merge pull request #​89 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.1
  • 07b31a1 Merge pull request #​90 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.7.7
  • 3e06085 Merge pull request #​91 from gin-contrib/dependabot/github_actions/github/codeql-action-2
  • 8e881b2 Merge pull request #​92 from gin-contrib/dependabot/github_actions/actions/setup-go-3
  • 6e9a2e1 Merge pull request #​93 from gin-contrib/dependabot/github_actions/codecov/codecov-action-3
  • a1ba4f8 Merge pull request #​94 from gin-contrib/dependabot/github_actions/golangci/golangci-lint-action-3
  • 8d4394e Merge pull request #​95 from gin-contrib/dependabot/github_actions/actions/cache-3
  • c4b1d45 Merge pull request #​96 from gin-contrib/dependabot/github_actions/goreleaser/goreleaser-action-3
  • 1a71ba7 Merge pull request #​97 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.0
  • 1cb620b Merge pull request #​99 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.1
  • 028d2d3 Update README.md
  • 0223cb8 Update gin dependency to 1.6.2 (#​63)
  • 74e9a66 Update go.mod
  • aead5ea changes
  • dab984b chore(CI/CD): add dependabot
  • 035db04 chore(CI/CD): add go1.18 version
  • 471fc54 chore(CI/CD): remove 1.13 version
  • aa5c43d reverting
  • 64faa2b sync Config.ExposeHeaders & comment (#​74)
  • 062ab01 test: remove macos version

v1.3.1

Compare 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: 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
Copy link
Author

renovate bot commented Nov 26, 2025

ℹ 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):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/gin-gonic/gin v1.7.7 -> v1.9.1
github.com/stretchr/testify v1.4.0 -> v1.8.4

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.

1 participant