CVE-2020-15223
JSON

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 packageVersionsReported by
ory fosite< 0.34.0, before 0.34.0CVE List, NVD
github.com/ory/fosite (Go)before 0.34.0GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M8.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
GitHub8.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
NVD8.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
NVD4.0medium CVSS:2.0AV: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 &amp; OpenID Connect para Go) anterior a la versión 0.34.0, el "TokenRevocationHandler" ignora los errores provenientes del almacenamiento.&#xa0;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.&#xa0;Si un atacante puede usar esto para su favor depende de la capacidad de desencadenar errores en la tienda.&#xa0;Esto se corrigió en la versión 0.34.0

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15223 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-7mqr-2v3q-v2wm changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2021-0109 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-15223 changed 2026-06-17Public domain