Skip to content
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

x/vulndb: potential Go vuln in github.com/gin-contrib/cors: CVE-2019-25211 #2955

Closed
GoVulnBot opened this issue Jun 29, 2024 · 1 comment

Comments

@GoVulnBot
Copy link

Advisory CVE-2019-25211 references a vulnerability in the following Go modules:

Module
github.com/gin-contrib/cors

Description:
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.

References:

Cross references:
No existing reports found with this module or alias.
See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/gin-contrib/cors
      vulnerable_at: 1.7.2
      packages:
        - package: n/a
summary: CVE-2019-25211 in github.com/gin-contrib/cors
cves:
    - CVE-2019-25211
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-25211
    - fix: https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d
    - fix: https://github.com/gin-contrib/cors/pull/106
    - fix: https://github.com/gin-contrib/cors/pull/57
    - web: https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0
    - web: https://github.com/gin-contrib/cors/releases/tag/v1.6.0
source:
    id: CVE-2019-25211
    created: 2024-06-29T01:01:13.534861128Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/596195 mentions this issue: data/reports: add GO-2024-2955

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

No branches or pull requests

4 participants