Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ory/fosite/handler/oauth2
  4. ›
  5. CVE-2020-15223

CVE-2020-15223: Improper Handling of Exceptional Conditions

May 24, 2021

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

References

  • github.com/advisories/GHSA-7mqr-2v3q-v2wm
  • github.com/ory/fosite/commit/03dd55813f5521985f7dd64277b7ba0cf1441319
  • github.com/ory/fosite/security/advisories/GHSA-7mqr-2v3q-v2wm
  • nvd.nist.gov/vuln/detail/CVE-2020-15223

Code Behaviors & Features

Detect and mitigate CVE-2020-15223 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.34.0

Fixed versions

  • 0.34.0

Solution

Upgrade to version 0.34.0 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

go/github.com/ory/fosite/handler/oauth2/CVE-2020-15223.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.