Description
Flask-Security-Too allows users to add security features to their Flask applicationa. Version 5.8.0's OAuth reauthentication flow can mark a session as fresh after verifying an OAuth account that belongs to a different user. If an attacker can operate an already-authenticated but stale victim session, they can complete OAuth verification using their own OAuth identity. The victim session is then treated as recently reauthenticated, allowing freshness-protected account actions to proceed. Version 5.8.1 contains a fix for this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pallets-eco | Flask-Security-Too | >= 5.8.0, < 5.8.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | flask-security-too | >= 5.8.0, < 5.8.1 | 5.8.1 | GHSA-97r5-pg8x-p63p |