CVE-2020-15222 Replay of private_key_jwt possible in ORY Fosite
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ory github.com/ory/fosite | < 0.31.0; = < 0.31.0 | 0.31.0 | Fixed |
| ory github.com/ory/fosite(Go) | < 0.31.0 | 0.31.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ory github.com/ory/fosite(Go) | < 0.31.0 | 0.31.0 |
| ory github.com/ory/fosite | < 0.31.0 | 0.31.0 |
| ory github.com/ory/fosite | = < 0.31.0 | No fix listed |
References
- github.com exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com
- openid.net third-party-advisory
- pkg.go.dev
- github.com
- github.com product