Ory fosite contains Improper Handling of Exceptional Conditions
Description
Published by the National Vulnerability Database
Sep 24, 2020
Reviewed
May 24, 2021
Published to the GitHub Advisory Database
May 24, 2021
Last updated
Feb 14, 2023
Impact
The
TokenRevocationHandler
ignores errors coming from the storage. This can lead to unexpected 200 status codes indicating successful revocation while the token is still valid. Whether an attacker can use this for her advantage depends on the ability to trigger errors in the store.References
RFC 7009 states that a 503 HTTP code must be returned when the server has a problem.
References