{"id":"DEBIAN-CVE-2019-25211","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.","modified":"2026-09-21T07:03:18.498414920Z","published":"2024-06-29T00:15:02.107Z","upstream":["CVE-2019-25211"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2019-25211"}],"affected":[{"package":{"name":"golang-github-gin-contrib-cors","ecosystem":"Debian:12","purl":"pkg:deb/debian/golang-github-gin-contrib-cors?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1+deb12u1"}]}],"versions":["1.4.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-25211.json"}},{"package":{"name":"golang-github-gin-contrib-cors","ecosystem":"Debian:13","purl":"pkg:deb/debian/golang-github-gin-contrib-cors?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1+deb13u1"}]}],"versions":["1.4.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-25211.json"}},{"package":{"name":"golang-github-gin-contrib-cors","ecosystem":"Debian:14","purl":"pkg:deb/debian/golang-github-gin-contrib-cors?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.6-1"}]}],"versions":["1.4.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-25211.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}