Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-v6c5-hwqg-3x5q

Опубликовано: 04 сент. 2020
Источник: github
Github: Прошло ревью

Описание

Improper Authorization in passport-cognito

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.

Пакеты

Наименование

passport-cognito

npm
Затронутые версииВерсия исправления

>= 0.0.0

Отсутствует

Дефекты

CWE-285

Связанные уязвимости

debian

Описание отсутствует

Дефекты

CWE-285