CVE-2020-15222: Replay Attack Vulnerability in github.com/ory/fosite

github.com/ory/fosite Updated 02 Oct 2025

Summary

14/04/2021
N/A
Yes i
Unrated
Not published

GO-2021-0092: Uniqueness of JWT IDs (jti) are not checked, allowing the JWT to be replayed. Affects github.com/ory/fosite versions < 0.31.0. Fixed in 0.31.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

github.com/ory/fosite is a Go package that provides a secure and flexible OAuth2 and OpenID Connect server implementation. It is widely used for authentication and authorization purposes in various applications. However, a vulnerability has been discovered in the package that allows for replay attacks.

Vulnerability Detail

The vulnerability in github.com/ory/fosite stems from the lack of uniqueness checking for JWT IDs (jti). This means that an attacker can replay a JWT, leading to unauthorized access or other malicious activities. The impact of this vulnerability can be severe, as it compromises the integrity and security of the authentication and authorization process.

How To Fix

Latest published version: v0.49.0 as of 23 Oct 2026

go get github.com/ory/fosite@v0.49.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.31.0

This is the first release that contains the fix.

go get github.com/ory/fosite@v0.31.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update the package to the fixed version as soon as possible.

Conclusion

The replay attack vulnerability in github.com/ory/fosite can have severe consequences for the security of authentication and authorization processes. It is crucial to update the package to version 0.31.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/ory/fosite →

Share this vulnerability

FAQ

The vulnerability allows for replay attacks, which can lead to unauthorized access or other malicious activities.

To fix this vulnerability, update the package to version 0.31.0 or later.

No, there is no known workaround. Updating the package is the only solution.

Yes, all versions prior to 0.31.0 are affected by this vulnerability.

You can find more information about this vulnerability in the official vulnerability report: https://pkg.go.dev/vuln/GO-2021-0092

Related vulnerabilities

Recent vulnerabilities recorded for github.com/ory/fosite.

How To Fix

Latest published version: v0.49.0 as of 23 Oct 2026

go get github.com/ory/fosite@v0.49.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.31.0

This is the first release that contains the fix.

go get github.com/ory/fosite@v0.31.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback