{"id":"USN-8983-1","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.","modified":"2026-11-04T03:43:14.199616348Z","published":"2026-11-03T17:35:44Z","related":["UBUNTU-CVE-2019-25211"],"upstream":["CVE-2019-25211","UBUNTU-CVE-2019-25211"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8983-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-25211"}],"affected":[{"package":{"name":"golang-github-gin-contrib-cors","ecosystem":"Ubuntu:Pro:20.04:LTS","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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"golang-github-gin-contrib-cors-dev","binary_version":"1.3.0-2ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2019-25211","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8983-1.json"}},{"package":{"name":"golang-github-gin-contrib-cors","ecosystem":"Ubuntu:22.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gin-contrib-cors-dev","binary_version":"1.3.1-1+deb11u1build0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2019-25211","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8983-1.json"}},{"package":{"name":"golang-github-gin-contrib-cors","ecosystem":"Ubuntu:Pro:24.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gin-contrib-cors-dev","binary_version":"1.4.0-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8983-1.json","cves_map":{"cves":[{"id":"CVE-2019-25211","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:24.04:LTS"}}}],"schema_version":"1.9.2"}