github.com/emicklei/go-restful
Affected
- introduced
0, fixed2.16.0+incompatible(semver)
Fixed versions
2.16.0+incompatible
Fix
- Fixed version
2.16.0+incompatiblego get github.com/emicklei/[email protected]+incompatible
Advisory
Also known as: CVE-2022-1996, GHSA-r48q-9g5r-8q2h
Authorization bypass in github.com/emicklei/go-restful, go-restful/v2 and go-restful/v3
CORS filters that use an AllowedDomains configuration parameter can match domains outside the specified set, permitting an attacker to avoid the CORS policy.
The AllowedDomains configuration parameter is documented as a list of allowed origin domains, but values in this list are applied as regular expression matches. For example, an allowed domain of "example.com" will match the Origin header "example.com.malicious.domain".
Not rated by the source.
0, fixed 2.16.0+incompatible (semver)2.16.0+incompatible
2.16.0+incompatiblego get github.com/emicklei/[email protected]+incompatible2.7.1 (semver)None listed
No fixed version is listed.
3.0.0, fixed 3.8.0 (semver)3.8.0
3.8.0go get github.com/emicklei/go-restful/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0