QID 980060

QID 980060: Go (go) Security Update for github.com/ory/fosite (GHSA-grfp-q2mm-hfp6)

Security update has been released for github.com/ory/fosite to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Before version v0.34.1, the OAuth 2.0 Client's registered redirect URLs and the redirect URL provided at the OAuth2 Authorization Endpoint where compared using `strings.ToLower` while they should have been compared with a simple string match:

1. Registering a client with allowed redirect URL `https://example.com/callback`
2. Performing OAuth2 flow and requesting redirect URL `https://example.com/CALLBACK`
3. Instead of an error (invalid redirect URL), the browser is redirected to `https://example.com/CALLBACK` with a potentially successful OAuth2 response, depending on the state of the overall OAuth2 flow (the user might still deny the request for example).

  • CVSS V3 rated as Medium - 4.8 severity.
  • CVSS V2 rated as Medium - 4.9 severity.
  • Solution
    Customers are advised to refer to GHSA-grfp-q2mm-hfp6 for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 980060

    Software Advisories
    Advisory ID Software Component Link
    GHSA-grfp-q2mm-hfp6 github.com/ory/fosite URL Logo github.com/advisories/GHSA-grfp-q2mm-hfp6