CVE catalog

CVE-2019-25211

golang-github-gin-contrib-cors: CVE-2019-25211

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiangolang-github-gin-contrib-corstrixie1.4.0-1+deb13u1fixed
Debiangolang-github-gin-contrib-corsbookworm1.4.0-1+deb12u1fixed
Ubuntugolang-github-gin-contrib-cors20.041.3.0-2vulnerable
Ubuntugolang-github-gin-contrib-cors22.041.3.1-1vulnerable
Ubuntugolang-github-gin-contrib-cors24.041.4.0-1vulnerable
Ubuntugolang-github-gin-contrib-cors25.101.4.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-gin-contrib-corssourcetrixie1.4.0-1+deb13u1not yet assignedNot reported[1075962]
Debiangolang-github-gin-contrib-corssourcebookworm1.4.0-1+deb12u1not yet assignedNot reported[1075962]

[Debian bug #1075962]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-gin-contrib-cors]

    Details (2)
    • 1.4.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.0-1+deb12u1

      dsa · golang-github-gin-contrib-cors · debian · bookworm

    • 1.4.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.0-1+deb12u1

      dsa · golang-github-gin-contrib-cors · debian · bookworm

Observed:

References