All reports
Critical

UBUNTU-CVE-2019-25211

Affected versions

Affected versions
<1.3.1-1+deb11u1build0.22.04.1
Fixed version
1.3.1-1+deb11u1build0.22.04.1
Affected versions
*
Fixed version
Not reported
Affected versions
<1.3.0-2ubuntu0.1~esm1
Fixed version
1.3.0-2ubuntu0.1~esm1
Affected versions
<1.4.0-1ubuntu0.1~esm1
Fixed version
1.4.0-1ubuntu0.1~esm1

Description

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.

Links