GHSA-65m9-m259-7jqw Improper Authorization in react-oauth-flow
The react-oauth-flow library exposes confidential OAuth client secrets in frontend code, allowing attackers to compromise server credentials.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-65m9-m259-7jqw?
GHSA-65m9-m259-7jqw is a vulnerability in react-oauth-flow, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-65m9-m259-7jqw?
2 open source packages ship an affected version, including react-oauth-flow.
| Package | Affected | Fixed in |
|---|---|---|
react-oauth-flow npm | From 0.0.0 | None |
react-oauth-flow npm | From 0.0.0 | None |
How do I fix GHSA-65m9-m259-7jqw?
No fix has been published for GHSA-65m9-m259-7jqw yet. Limit exposure of the affected software until one is available.
Is GHSA-65m9-m259-7jqw being exploited?
There is no known exploitation of GHSA-65m9-m259-7jqw in the wild and no public exploit code.