Summary
AIThe JWT library in NATS nats-server before 2.1.9 handles expired credentials incorrectly, resulting in improper access control. This may allow access with expired credentials; the input does not specify whether exploitation requires network access, other authentication, or user interaction.
Who should check
Engineers using Go github.com/nats-io/nats-server/v2 before 2.1.9 or github.com/nats-io/jwt before 1.1.0 should check their dependencies.
What to do
- 1Upgrade github.com/nats-io/nats-server/v2 to 2.1.9 or later.
- 2Upgrade github.com/nats-io/jwt to 1.1.0 or later.