CVE-2020-5300
Summary
| CVE | CVE-2020-5300 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-04-06 17:15:00 UTC |
| Updated | 2020-04-07 13:52:00 UTC |
| 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 |
Risk And Classification
Problem Types: CWE-294
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v1.4.0+oryOS.18 · ory/hydra · GitHub | MISC | github.com | Third Party Advisory |
| Merge pull request from GHSA-3p3g-vpw6-4w66 · ory/hydra@700d17d · GitHub | MISC | github.com | Patch, Third Party Advisory |
| Disallow replay of `private_key_jwt` by blacklisting JTIs · Advisory · ory/hydra · GitHub | CONFIRM | github.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982387 Go (go) Security Update for github.com/ory/hydra/oauth2 (GHSA-3p3g-vpw6-4w66)