CVE-2019-25211

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-25211
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25211.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-25211
Aliases
Downstream
Published
2024-06-29T00:15:02Z
Modified
2025-11-19T08:34:13.704176Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/gin-contrib/cors

Affected ranges

Type
GIT
Repo
https://github.com/gin-contrib/cors
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0
v1.1
v1.2
v1.3.0
v1.3.1
v1.4.0
v1.5.0