github.com/nats-io/jwt
Affected
- introduced
0, fixed1.1.0(semver)
Fixed versions
1.1.0
Fix
- Fixed version
1.1.0go get github.com/nats-io/[email protected]
Advisory
Also known as: CVE-2020-26892, GHSA-2c64-vj8g-vwrq, GHSA-4w5x-x539-ppf5
Incorrect handling of credential expiry in github.com/nats-io/jwt
The AccountClaims.IsRevoked and Export.IsRevoked functions improperly validate expired credentials using the current system time rather than the issue time of the JWT to be tested.
These functions cannot be used properly. Newer versions of the jwt package provide an IsClaimRevoked method which performs correct validation. In these versions, the IsRevoked method always return true.
Not rated by the source.
0, fixed 1.1.0 (semver)1.1.0
1.1.0go get github.com/nats-io/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0