8.0high
Ignored storage errors on token revokation in ORY Fosite
- Severity
- 8.0high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.59% (higher than 76% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7mqr-2v3q-v2wmGO-2021-0109
Description
In ORY Fosite (the security first OAuth2 & OpenID Connect framework for Go) before version 0.34.0, 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. This is fixed in version 0.34.0
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ory fosite | < 0.34.0, before 0.34.0 | CVE List, NVD |
| github.com/ory/fosite (Go) | before 0.34.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
In ORY Fosite (the security first OAuth2 & OpenID Connect framework for Go) before version 0.34.0, 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. This is fixed in version 0.34.0
GitHub Advisory Database
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.
Go Vulnerability Database
Due to improper error handling, an error with the underlying token storage may cause a user to believe a token has been successfully revoked when it is in fact still valid. An attackers ability to exploit this relies on an ability to trigger errors in the underlying storage.
NVD (es)
En ORY Fosite (el primer framework de seguridad OAuth2 & OpenID Connect para Go) anterior a la versión 0.34.0, el "TokenRevocationHandler" ignora los errores provenientes del almacenamiento. Esto puede conllevar a 200 códigos de estado no previstos que indican una revocación exitosa mientras el token aún es válido. Si un atacante puede usar esto para su favor depende de la capacidad de desencadenar errores en la tienda. Esto se corrigió en la versión 0.34.0
References
| https://github.com/ory/fosite/security/advisories/GHSA-7mqr-2v3q-v2wm | third-party-advisory, web | |
| https://github.com/ory/fosite/commit/03dd55813f5521985f7dd64277b7ba0cf1441319 | fix, patch, third-party-advisory, web | |
| https://tools.ietf.org/html/rfc7009#section-2.2.1 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-15223 | advisory | |
| https://pkg.go.dev/vuln/GO-2021-0109 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-15223 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7mqr-2v3q-v2wm changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2021-0109 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2020-15223 changed 2026-06-17 | Public domain |