Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-26892 EUVD-2022-0821GHSA-2c64-vj8g-vwrqGHSA-4w5x-x539-ppf5GO-2022-0380

Incorrect handling of credential expiry by /nats-io/nats-server

Published Nov 6, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-nats-io-jwt 2.2.0-1 —
Debian 13 golang-github-nats-io-jwt 2.2.0-1 —
Debian 12 golang-github-nats-io-jwt 2.2.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-github-nats-io-jwt No fix yet —
Ubuntu 20.04 LTS golang-github-nats-io-jwt No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/nats-io/jwt < 1.1.0 1.1.0 GHSA-4w5x-x539-ppf5
Go github.com/nats-io/nats-server/v2 < 2.1.9 2.1.9 GHSA-2c64-vj8g-vwrq

References