GHSA-wpfr-6297-9v57

Suggest an improvement
Source
https://github.com/advisories/GHSA-wpfr-6297-9v57
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-wpfr-6297-9v57/GHSA-wpfr-6297-9v57.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wpfr-6297-9v57
Aliases
Published
2022-02-09T22:29:01Z
Modified
2024-08-21T14:57:07.815880Z
Summary
User object created with invalid provider data in GoTrue
Details

Impact

What kind of vulnerability is it? Who is impacted?

Under certain circumstances a valid user object would have been created with invalid provider metadata.

This vulnerability affects everyone running an instance of GoTrue as a service. We advise you to update especially if you are using the provider metadata from the user object to secure other resources.

Patches

Has the problem been patched? What versions should users upgrade to?

A patch is available with the release of version 1.0.1 on Github.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

If you don't rely on the provider metadata in the user object, you might not be affected. We still strongly recommend upgrading.

References

Are there any links users can visit to find out more?

This problem was initially found and reported by the team at Supabase: https://github.com/supabase/gotrue/security/advisories/GHSA-5hvv-9cqv-894r. We want to thank them for the cooperation around this report.

In contrast to their advisory, we decided to set the severity to "Moderate" since the provider metadata is not an inherent security feature of this GoTrue codebase or the Netlify ecosystem.

For more information

If you have any questions or comments about this advisory: * Email us at security@netlify.com

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-02-09T22:29:01Z"
}
References

Affected packages

Go / github.com/netlify/gotrue

Package

Name
github.com/netlify/gotrue
View open source insights on deps.dev
Purl
pkg:golang/github.com/netlify/gotrue

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1