
CVE catalog
CVE-2019-25211
golang-github-gin-contrib-cors: CVE-2019-25211
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.43% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-gin-contrib-cors | trixie | 1.4.0-1+deb13u1 | fixed |
| Debian | golang-github-gin-contrib-cors | bookworm | 1.4.0-1+deb12u1 | fixed |
| Ubuntu | golang-github-gin-contrib-cors | 20.04 | 1.3.0-2 | vulnerable |
| Ubuntu | golang-github-gin-contrib-cors | 22.04 | 1.3.1-1 | vulnerable |
| Ubuntu | golang-github-gin-contrib-cors | 24.04 | 1.4.0-1 | vulnerable |
| Ubuntu | golang-github-gin-contrib-cors | 25.10 | 1.4.0-1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
[Debian 12 (Bookworm)]
Source package: [golang-github-gin-contrib-cors]
Details (2)
1.4.0-1+deb12u1· all · bookwormFixed · Fixed:
1.4.0-1+deb12u1dsa · golang-github-gin-contrib-cors · debian · bookworm
1.4.0-1+deb12u1· all · bookwormFixed · Fixed:
1.4.0-1+deb12u1dsa · golang-github-gin-contrib-cors · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/DLA-4285-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-25211]
- [https://security-tracker.debian.org/tracker/CVE-2019-25211]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-25211.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]