GO-2022-0380

vendorUSosv

Incorrect handling of credential expiry in github.com/nats-io/jwt

view advisory published 2022-07-15Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2020-26892UScritical9.8OT elevated—
The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan