GHSA-65m9-m259-7jqw

Suggest an improvement
Source
https://github.com/advisories/GHSA-65m9-m259-7jqw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-65m9-m259-7jqw/GHSA-65m9-m259-7jqw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-65m9-m259-7jqw
Published
2020-09-03T15:49:29Z
Modified
2021-10-04T21:06:12Z
Summary
Improper Authorization in react-oauth-flow
Details

All versions of react-oauth-flow fail to properly implement the OAuth protocol. The package stores secrets in the front-end code. Instead of using a public OAuth client, it uses a confidential client on the browser. This may allow attackers to compromise server credentials.

Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

Database specific
{
    "cwe_ids":  [
        "CWE-285"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T19:01:08Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / react-oauth-flow

Package

Name
react-oauth-flow
View open source insights on deps.dev
Purl
pkg:npm/react-oauth-flow

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-65m9-m259-7jqw/GHSA-65m9-m259-7jqw.json"