UBUNTU-CVE-2019-25211

Source
https://ubuntu.com/security/CVE-2019-25211
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25211.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-25211
Upstream
Downstream
Related
Published
2024-06-29T00:15:00Z
Modified
2026-11-04T03:30:06Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS
golang-github-gin-contrib-cors

Package

Name
golang-github-gin-contrib-cors
Purl
pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.1-1+deb11u1build0.22.04.1

Affected versions

1.*
1.3.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "golang-github-gin-contrib-cors-dev",
            "binary_version": "1.3.1-1+deb11u1build0.22.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25211.json"
Ubuntu:25.10
golang-github-gin-contrib-cors

Package

Name
golang-github-gin-contrib-cors
Purl
pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-gin-contrib-cors-dev",
            "binary_version": "1.4.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25211.json"
Ubuntu:Pro:20.04:LTS
golang-github-gin-contrib-cors

Package

Name
golang-github-gin-contrib-cors
Purl
pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.0-2ubuntu0.1~esm1

Affected versions

1.*
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

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25211.json"
Ubuntu:Pro:24.04:LTS
golang-github-gin-contrib-cors

Package

Name
golang-github-gin-contrib-cors
Purl
pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.0-1ubuntu0.1~esm1

Affected versions

1.*
1.4.0-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "golang-github-gin-contrib-cors-dev",
            "binary_version": "1.4.0-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25211.json"