Skip to content
Fencer Vulns
critical —

CVE-2019-19723 json

Improper Authorization in passport-cognito

published 2020-09-04 6 y ago modified 2023-11-08 3 y 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.

Affected packages

ecosystem package affected fixed in
npm passport-cognito
>=0.0.0
no fix listed

Classification

Weakness

References

Sources

Fencer Vulns 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.