---
id: CVE-2020-15223
aliases:
  - GHSA-7mqr-2v3q-v2wm
  - GO-2021-0109
title: 'Ory fosite contains Improper Handling of Exceptional Conditions '
summary: 'Ory fosite contains Improper Handling of Exceptional Conditions '
severity: high
cvss: 8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N'
vendor: ory
product: github.com/ory/fosite
ecosystem: go
affected:
  - github.com/ory/fosite < 0.34.0
patched:
  - github.com/ory/fosite 0.34.0
published: '2021-05-24'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:04.760073152Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7mqr-2v3q-v2wm'
references:
  - url: 'https://github.com/ory/fosite/security/advisories/GHSA-7mqr-2v3q-v2wm'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-15223'
  - url: >-
      https://github.com/ory/fosite/commit/03dd55813f5521985f7dd64277b7ba0cf1441319
  - url: 'https://pkg.go.dev/vuln/GO-2021-0109'
  - url: 'https://tools.ietf.org/html/rfc7009#section-2.2.1'
tags:
  - osv
  - go
epss: 0.01588
epssPercentile: 0.74586
ingestedAt: '2026-09-12T03:13:01.764Z'
---

## Overview

### 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](https://tools.ietf.org/html/rfc7009#section-2.2.1) states that a 503 HTTP code must be returned when the server has a problem.

## Affected packages

- `github.com/ory/fosite < 0.34.0`

## Remediation

Upgrade to a patched release:

- `github.com/ory/fosite 0.34.0`
