Live threats

All CVEs / Linuxfoundation

CVE-2020-26521Linuxfoundation Nats-server

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Nov 6, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).

Original NVD text.

What to do

  1. Apply the vendor's security update for Nats-server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/nats-io/jwt < 1.1.0 1.1.0 go get github.com/nats-io/jwt@v1.1.0
Go github.com/nats-io/jwt < 1.1.0 1.1.0 go get github.com/nats-io/jwt@v1.1.0
Go github.com/nats-io/nats-server/v2 < 2.1.9 2.1.9 go get github.com/nats-io/nats-server/v2@v2.1.9

Per OSV / GitHub Advisories (GHSA-h2fg-54x9-5qhq, GO-2022-0402, GHSA-hmm9-r2m2-qg9w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationnats-server< 2.1.9
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.