{"id":"CVE-2019-25211","aliases":["DEBIAN-CVE-2019-25211","GHSA-869c-j7wc-8jqv","GO-2024-2955","UBUNTU-CVE-2019-25211"],"summary":"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...","published_at":"2024-06-28T00:00:00Z","modified_at":"2026-11-04T03:30:06.670805Z","products":[],"rating":{"severity":"critical","score":9.3,"vector":"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004310000222176313,"percentile":0.38130998611450195,"date":"2026-11-19T00:00:00Z"},"priority":11.3,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"gin-contrib/cors","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"cvelistv5","source":"CVE-2019-25211","relation":"self"},{"ecosystem":"Debian:11","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/debian/golang-github-gin-contrib-cors?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1+deb11u1"}]}],"versions":["1.3.1-1"],"fixed":["1.3.1-1+deb11u1"],"provider":"osv","source":"DLA-4285-1","relation":"upstream"},{"ecosystem":"Debian:12","package":"golang-github-gin-contrib-cors","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"],"fixed":["1.4.0-1+deb12u1"],"provider":"osv","source":"DEBIAN-CVE-2019-25211","relation":"self"},{"ecosystem":"Debian:13","package":"golang-github-gin-contrib-cors","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"],"fixed":["1.4.0-1+deb13u1"],"provider":"osv","source":"DEBIAN-CVE-2019-25211","relation":"self"},{"ecosystem":"Go","package":"github.com/gin-contrib/cors","purl":"pkg:golang/github.com/gin-contrib/cors","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"osv","source":"GHSA-869c-j7wc-8jqv","relation":"self"},{"ecosystem":"Go","package":"github.com/gin-contrib/cors","purl":"pkg:golang/github.com/gin-contrib/cors","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"osv","source":"GO-2024-2955","relation":"self"},{"ecosystem":"Go","package":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"osv","source":"GHSA-869c-j7wc-8jqv","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1+deb11u1build0.22.04.1"}]}],"versions":["1.3.1-1"],"fixed":["1.3.1-1+deb11u1build0.22.04.1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1+deb11u1build0.22.04.1"}]}],"versions":["1.3.1-1"],"fixed":["1.3.1-1+deb11u1build0.22.04.1"],"provider":"osv","source":"USN-8983-1","relation":"upstream"},{"ecosystem":"Ubuntu:25.10","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-2"],"fixed":["1.3.0-2ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-2"],"fixed":["1.3.0-2ubuntu0.1~esm1"],"provider":"osv","source":"USN-8983-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1"],"fixed":["1.4.0-1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1"],"fixed":["1.4.0-1ubuntu0.1~esm1"],"provider":"osv","source":"USN-8983-1","relation":"upstream"}],"product_status":[{"vendor":"Red Hat","product":"8Base-RHMTC-1.8","cpe":"cpe:/a:redhat:rhmt:1.8::el8","status":"fixed","packages":["rhmtc/openshift-migration-controller-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2024:7164"],"provider":"redhat-vex","source":"CVE-2019-25211"},{"vendor":"Red Hat","product":"8Base-RHMTC-1.8","cpe":"cpe:/a:redhat:rhmt:1.8::el8","status":"not_affected","packages":["rhmtc/openshift-migration-hook-runner-rhel8","rhmtc/openshift-migration-log-reader-rhel8","rhmtc/openshift-migration-must-gather-rhel8","rhmtc/openshift-migration-openvpn-rhel8","rhmtc/openshift-migration-operator-bundle","rhmtc/openshift-migration-registry-rhel8","rhmtc/openshift-migration-rhel8-operator","rhmtc/openshift-migration-rsync-transfer-rhel8","rhmtc/openshift-migration-ui-rhel8","rhmtc/openshift-migration-velero-plugin-for-mtc-rhel8"],"package_count":10,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2019-25211"},{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-api-rhel9","migration-toolkit-virtualization/mtv-controller-rhel9","migration-toolkit-virtualization/mtv-openstack-populator-rhel9","migration-toolkit-virtualization/mtv-ova-provider-server-rhel9","migration-toolkit-virtualization/mtv-populator-controller-rhel9","migration-toolkit-virtualization/mtv-rhel8-operator","migration-toolkit-virtualization/mtv-rhv-populator-rhel8","migration-toolkit-virtualization/mtv-validation-rhel9","migration-toolkit-virtualization/mtv-virt-v2v-rhel9","migration-toolkit-virtualization/mtv-virt-v2v-warm-rhel8"],"package_count":10,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2019-25211"}],"records":[{"provider":"osv","source_id":"DLA-4285-1","relation":"upstream","url":"https://osv.dev/vulnerability/DLA-4285-1","published_at":"2025-08-28T00:00:00Z","modified_at":"2026-11-20T01:19:00.535284Z","summary":"golang-github-gin-contrib-cors - security update","severity":[],"affected":[{"ecosystem":"Debian:11","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/debian/golang-github-gin-contrib-cors?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1+deb11u1"}]}],"versions":["1.3.1-1"],"fixed":["1.3.1-1+deb11u1"],"provider":"osv","source":"DLA-4285-1","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"USN-8983-1","relation":"upstream","url":"https://osv.dev/vulnerability/USN-8983-1","license":"CC-BY-SA-4.0","published_at":"2026-11-03T17:35:44Z","modified_at":"2026-11-04T03:43:14.199616Z","summary":"golang-github-gin-contrib-cors vulnerability","details":"It was discovered that the Gin CORS middleware incorrectly handled\nwildcards at the end of origin strings. A remote attacker could possibly\nuse this issue to bypass the configured origin restrictions.","severity":[],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1+deb11u1build0.22.04.1"}]}],"versions":["1.3.1-1"],"fixed":["1.3.1-1+deb11u1build0.22.04.1"],"provider":"osv","source":"USN-8983-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-2"],"fixed":["1.3.0-2ubuntu0.1~esm1"],"provider":"osv","source":"USN-8983-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1"],"fixed":["1.4.0-1ubuntu0.1~esm1"],"provider":"osv","source":"USN-8983-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8983-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-25211"}]},{"provider":"cvelistv5","source_id":"CVE-2019-25211","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2019-25211","license":"CC-BY-4.0","published_at":"2024-06-28T00:00:00Z","modified_at":"2025-11-03T18:07:54.695Z","summary":"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...","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP:CVE-2019-25211"}],"affected":[{"ecosystem":"CVE","package":"gin-contrib/cors","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"cvelistv5","source":"CVE-2019-25211","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/57"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/106"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2019-25211","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2019-25211","published_at":"2024-06-29T00:15:02.107Z","modified_at":"2026-10-14T06:00:04.398812Z","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"DEBIAN-CVE-2019-25211"}],"affected":[{"ecosystem":"Debian:12","package":"golang-github-gin-contrib-cors","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"],"fixed":["1.4.0-1+deb12u1"],"provider":"osv","source":"DEBIAN-CVE-2019-25211","relation":"self"},{"ecosystem":"Debian:13","package":"golang-github-gin-contrib-cors","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"],"fixed":["1.4.0-1+deb13u1"],"provider":"osv","source":"DEBIAN-CVE-2019-25211","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2019-25211"}]},{"provider":"osv","source_id":"GHSA-869c-j7wc-8jqv","relation":"self","url":"https://osv.dev/vulnerability/GHSA-869c-j7wc-8jqv","license":"CC-BY-4.0","published_at":"2024-06-29T06:31:40Z","modified_at":"2025-11-03T22:47:01Z","summary":"Gin mishandles a wildcard at the end of an origin string","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GHSA-869c-j7wc-8jqv"},{"type":"CVSS_V4","score":"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","source":"GHSA-869c-j7wc-8jqv"}],"affected":[{"ecosystem":"Go","package":"github.com/gin-contrib/cors","purl":"pkg:golang/github.com/gin-contrib/cors","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"osv","source":"GHSA-869c-j7wc-8jqv","relation":"self"},{"ecosystem":"Go","package":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"osv","source":"GHSA-869c-j7wc-8jqv","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25211"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/106"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/57"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0"},{"type":"PACKAGE","url":"https://github.com/gin-gonic/gin"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html"}]},{"provider":"osv","source_id":"GO-2024-2955","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2955","license":"CC-BY-4.0","published_at":"2024-07-02T19:23:53Z","modified_at":"2024-07-02T19:57:15.180688Z","summary":"Gin mishandles a wildcard in the origin string in github.com/gin-contrib/cors","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":[],"affected":[{"ecosystem":"Go","package":"github.com/gin-contrib/cors","purl":"pkg:golang/github.com/gin-contrib/cors","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"fixed":["1.6.0"],"provider":"osv","source":"GO-2024-2955","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-869c-j7wc-8jqv"},{"type":"FIX","url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"},{"type":"FIX","url":"https://github.com/gin-contrib/cors/pull/106"},{"type":"FIX","url":"https://github.com/gin-contrib/cors/pull/57"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2019-25211","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2019-25211","license":"CC-BY-SA-4.0","published_at":"2024-06-29T00:15:00Z","modified_at":"2026-11-04T03:30:06.670805Z","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"UBUNTU-CVE-2019-25211"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2019-25211"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1+deb11u1build0.22.04.1"}]}],"versions":["1.3.1-1"],"fixed":["1.3.1-1+deb11u1build0.22.04.1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-2"],"fixed":["1.3.0-2ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"golang-github-gin-contrib-cors","purl":"pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1"],"fixed":["1.4.0-1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2019-25211","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-25211"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-25211"},{"type":"REPORT","url":"https://github.com/gin-contrib/cors/pull/57"},{"type":"REPORT","url":"https://github.com/gin-contrib/cors/pull/106"},{"type":"REPORT","url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"},{"type":"REPORT","url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0"},{"type":"REPORT","url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8983-1"}]},{"provider":"redhat-vex","source_id":"CVE-2019-25211","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2019-25211","license":"CC-BY-4.0","published_at":"2024-07-02T00:00:00Z","modified_at":"2024-09-25T22:52:48Z","summary":"github.com/gin-contrib/cors: Gin mishandles a wildcard in the origin string in github.com/gin-contrib/cors","details":"A flaw was found in the gin-gonic CORS middleware. Affected versions of this package are vulnerable to an Origin Validation Error due to the mishandling of wildcard characters at the end of an origin string. This flaw could allow an attacker to bypass intended CORS restrictions by crafting origin strings that exploit this wildcard handling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2019-25211"},{"type":"Red Hat","score":"Moderate","source":"CVE-2019-25211"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"8Base-RHMTC-1.8","cpe":"cpe:/a:redhat:rhmt:1.8::el8","status":"fixed","packages":["rhmtc/openshift-migration-controller-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2024:7164"],"provider":"redhat-vex","source":"CVE-2019-25211"},{"vendor":"Red Hat","product":"8Base-RHMTC-1.8","cpe":"cpe:/a:redhat:rhmt:1.8::el8","status":"not_affected","packages":["rhmtc/openshift-migration-hook-runner-rhel8","rhmtc/openshift-migration-log-reader-rhel8","rhmtc/openshift-migration-must-gather-rhel8","rhmtc/openshift-migration-openvpn-rhel8","rhmtc/openshift-migration-operator-bundle","rhmtc/openshift-migration-registry-rhel8","rhmtc/openshift-migration-rhel8-operator","rhmtc/openshift-migration-rsync-transfer-rhel8","rhmtc/openshift-migration-ui-rhel8","rhmtc/openshift-migration-velero-plugin-for-mtc-rhel8"],"package_count":10,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2019-25211"},{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-api-rhel9","migration-toolkit-virtualization/mtv-controller-rhel9","migration-toolkit-virtualization/mtv-openstack-populator-rhel9","migration-toolkit-virtualization/mtv-ova-provider-server-rhel9","migration-toolkit-virtualization/mtv-populator-controller-rhel9","migration-toolkit-virtualization/mtv-rhel8-operator","migration-toolkit-virtualization/mtv-rhv-populator-rhel8","migration-toolkit-virtualization/mtv-validation-rhel9","migration-toolkit-virtualization/mtv-virt-v2v-rhel9","migration-toolkit-virtualization/mtv-virt-v2v-warm-rhel8"],"package_count":10,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2019-25211"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-25211.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2019-25211"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2295302"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2019-25211"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25211"},{"type":"WEB","url":"https://github.com/advisories/GHSA-869c-j7wc-8jqv"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/106"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/57"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0"}]}],"references":[{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/57"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/pull/106"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0"},{"type":"WEB","url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2019-25211"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25211"},{"type":"PACKAGE","url":"https://github.com/gin-gonic/gin"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-869c-j7wc-8jqv"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-25211"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-25211"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8983-1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-25211.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2019-25211"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2295302"}],"sources":[{"provider":"osv","source_id":"DLA-4285-1","url":"https://osv.dev/vulnerability/DLA-4285-1","modified_at":"2026-11-20T01:19:00.535284Z","relation":"upstream"},{"provider":"osv","source_id":"USN-8983-1","url":"https://osv.dev/vulnerability/USN-8983-1","license":"CC-BY-SA-4.0","modified_at":"2026-11-04T03:43:14.199616Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2019-25211","url":"https://www.cve.org/CVERecord?id=CVE-2019-25211","license":"CC-BY-4.0","modified_at":"2025-11-03T18:07:54.695Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2019-25211","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2019-25211","modified_at":"2026-10-14T06:00:04.398812Z","relation":"self"},{"provider":"osv","source_id":"GHSA-869c-j7wc-8jqv","url":"https://osv.dev/vulnerability/GHSA-869c-j7wc-8jqv","license":"CC-BY-4.0","modified_at":"2025-11-03T22:47:01Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2955","url":"https://osv.dev/vulnerability/GO-2024-2955","license":"CC-BY-4.0","modified_at":"2024-07-02T19:57:15.180688Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2019-25211","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2019-25211","license":"CC-BY-SA-4.0","modified_at":"2026-11-04T03:30:06.670805Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2019-25211","url":"https://access.redhat.com/security/cve/CVE-2019-25211","license":"CC-BY-4.0","modified_at":"2024-09-25T22:52:48Z","relation":"self"}]}
