CVE-2019-19723 json
Improper Authorization in passport-cognito
published 6y ago modified 3y ago also GHSA-v6c5-hwqg-3x5q
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
All versions of `passport-cognito` are vulnerable to Improper Authorization. The package fails to properly scope the variables containing authorization information, such as access token, refresh token and ID token. This causes a race condition where simultaneous authenticated users may receive authorization tokens for a different user. This would allow a user to take actions on another user's behalf.
## Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Is CVE-2019-19723 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | passport-cognito | >=0.0.0 |
no fix listed |
Classification
- Weakness
-
- CWE-285 Improper Authorization
References
Sources
- GitHub Advisory GHSA-v6c5-hwqg-3x5q
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.