Live threats

All CVEs / Ory

CVE-2020-15222Ory Fosite

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
Sep 24, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-345
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

What happens

In ORY Fosite (the security first OAuth2 & OpenID Connect framework for Go) before version 0.31.0, when using "private_key_jwt" authentication the uniqueness of the `jti` value is not checked. When using client authentication method "private_key_jwt", OpenId specification says the following about assertion `jti`: "A unique identifier for the token, which can be used to prevent reuse of the token. These tokens MUST only be used once, unless conditions for reuse were negotiated between the parties". Hydra does not seem to check the uniqueness of this `jti` value. This problem is fixed in version 0.31.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fosite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/ory/fosite < 0.31.0 0.31.0 go get github.com/ory/fosite@v0.31.0
Go github.com/ory/fosite < 0.31.0 0.31.0 go get github.com/ory/fosite@v0.31.0

Per OSV / GitHub Advisories (GHSA-v3q9-2p3m-7g43, GO-2021-0110). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
oryfosite< 0.31.0

Official sources

References

Links published by the sources. Open them with care.