Skip to content
OpenAdvisories
High · 7.5 CVE-2020-26521 EUVD-2022-1028GHSA-h2fg-54x9-5qhqGHSA-hmm9-r2m2-qg9wGO-2022-0402

Nil dereference in NATS JWT, DoS of 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 allows a denial of service (a nil dereference in Go code).

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 26.10 golang-github-nats-io-jwt No fix yet —
Ubuntu 26.04 LTS golang-github-nats-io-jwt No fix yet —
Ubuntu 25.10 golang-github-nats-io-jwt No fix yet —
Ubuntu 24.04 LTS golang-github-nats-io-jwt No fix yet —
Ubuntu 22.04 LTS golang-github-nats-io-jwt No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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-h2fg-54x9-5qhq
Go github.com/nats-io/nats-server/v2 < 2.1.9 2.1.9 GHSA-hmm9-r2m2-qg9w

References