GHSA-433w-mm6h-rv9p: Github.com/netlify/gotrue Auth Bypass Vulnerability
CRITICALGHSA-433w-mm6h-rv9p is a CRITICAL auth bypass vulnerability (General Security Weakness) affecting Github.com/netlify/gotrue libraries in the Go ecosystem. The issue involves auth bypass in saml provider. Remediation is available by upgrading affected packages to version 1.0.0.
GHSA-433w-mm6h-rv9p at a Glance
How to Fix GHSA-433w-mm6h-rv9p
To remediate this vulnerability, upgrade all affected Github.com/netlify/gotrue dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/netlify/gotrue to 1.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/netlify/gotrue
How to Check if You Are Affected
To determine whether your application is affected by GHSA-433w-mm6h-rv9p, inspect your project dependencies for Github.com/netlify/gotrue:
inspect dependencies for github.com/netlify/gotrue
Analyze the terminal output to locate any version of Github.com/netlify/gotrue in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Github.com/netlify/gotrue, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-433w-mm6h-rv9p Affected Github.com/netlify/gotrue Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/netlify/gotrue
|
Go |
< 1.0.0
|
1.0.0
|
References
Frequently Asked Questions
What is GHSA-433w-mm6h-rv9p?
Which Github.com/netlify/gotrue versions are affected?
What version fixes GHSA-433w-mm6h-rv9p?
Is github.com/netlify/gotrue affected?
What CWE is associated with GHSA-433w-mm6h-rv9p?
How can I check Go dependencies for GHSA-433w-mm6h-rv9p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-433w-mm6h-rv9p",
"modified" : "2021-05-21T20:47:30Z",
"published" : "2021-06-23T17:29:06Z",
"aliases" : [ ],
"summary" : "Auth bypass in SAML provider",
"details" : "### Impact\n\nThe following vulnerabilities have been disclosed, which impact users leveraging the SAML auth provider:\n\n- [`goxmldsig` - Signature Validation Bypass](https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7)\n- [`gosaml2` - Authentication Bypass](https://github.com/russellhaering/gosaml2/security/advisories/GHSA-xhqq-x44f-9fgg)\n\n### Patches\n\n[Patch available](https://github.com/netlify/gotrue/pull/274)\n\nPlease upgrade to v1.0.0 or commit hash `a2b4dd6bc4ef7562d1df044098b303f564eefa90`\n\n### Workarounds\n\nNo known workarounds.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [gotrue](https://github.com/netlify/gotrue/issues)\n* Email us at [security@netlify.com](mailto:security@netlify.com)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/netlify/gotrue"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/netlify/gotrue/security/advisories/GHSA-433w-mm6h-rv9p"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-21T20:47:30Z",
"nvd_published_at" : null
}
}