CVE-2020-5300
published medium CVSS 3.1 · 5.8Disallow replay of `private_key_jwt` by blacklisting JTIs in Hydra
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ory | — | hydra< 1.4.0+oryOS.17 | Affected | Not stated | GitHub_M |
Description
In Hydra (an OAuth2 Server and OpenID Certified™ OpenID Connect Provider written in Go), before version 1.4.0+oryOS.17, when using client authentication method 'private_key_jwt' [1], 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 check the uniqueness of this `jti` value. Exploiting this vulnerability is somewhat difficult because: - TLS protects against MITM which makes it difficult to intercept valid tokens for replay attacks - The expiry time of the JWT gives only a short window of opportunity where it could be replayed This has been patched in version v1.4.0+oryOS.17
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ory | hydra | < 1.4.0+oryOS.17 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-294 CWE-294: Authentication Bypass by Capture-replay
References
3Provider assertions
2GitHub_M · cna
Disallow replay of `private_key_jwt` by blacklisting JTIs in Hydra
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 551de2452abc893640e0d00765104a0fd9f64761a91bb86725576f3b672be514
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record