# GO-2021-0092 - Uniqueness of JWT IDs (jti) are not checked, allowing the JWT to be replayed.

Source: https://junglewise.ai/threats/go-2021-0092-uniqueness-of-jwt-ids-jti-are-not-checked-allowing-the-jwt-3719373f  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

Severity: info · Published 2021-04-14

Uniqueness of JWT IDs (jti) are not checked, allowing the JWT to be
replayed.

Technologies: [github.com/ory/fosite (Go)](https://junglewise.ai/threats/technologies/github-com-ory-fosite). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 14 April 2021.

**Which products and versions are affected?** github.com/ory/fosite (Go) SEMVER:introduced=0,fixed=0.31.0.

**Is there a fix for This vulnerability?** Yes. github.com/ory/fosite (Go): upgrade to 0.31.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/ory/fosite (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/ory/fosite (Go): upgrade to 0.31.0 or later

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


## Affected products

- github.com/ory/fosite (Go) SEMVER:introduced=0,fixed=0.31.0

## Related threats

- [GO-2021-0109 - Improper handling of token revocation in github.com/ory/fosite](https://junglewise.ai/threats/cve-2020-15223-ory-fosite-contains-improper-handling-of-exceptional-conditions)
- [GO-2021-0110 - Token reuse in github.com/ory/fosite](https://junglewise.ai/threats/cve-2020-15222-token-reuse-in-ory-fosite)
- [OAuth2 Redirect URL validity does not respect query parameters and character casing for loopback addresses](https://junglewise.ai/threats/cve-2020-15233-oauth2-redirect-url-validity-does-not-respect-query-parameters)
- [Redirect URL matching ignores character casing](https://junglewise.ai/threats/cve-2020-15234-redirect-url-matching-ignores-character-casing)
