Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

cve-program · severity unknowneuvd · severity unknownCVSS 3.1 · [email protected] · Primary 7.5 HIGHCVSS 2.0 · [email protected] · Primary 5.0 MEDIUMCVSS_V3 Publisher rating HIGHFixed by github.com/nats-io/jwt 1.1.0CVSS_V3 Publisher rating HIGHFixed by github.com/nats-io/nats-server/v2 2.1.9osv · severity unknownFixed by github.com/nats-io/jwt 1.1.0KEV status unknown

cve-program · CVE-2020-26521

Published

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

Read the publisher's advisory

euvd · EUVD-2022-1028

Published

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

Read the publisher's advisory

nvd · CVE-2020-26521

Published

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

Read the publisher's advisory

osv · GHSA-h2fg-54x9-5qhq

Published

## Problem Description The NATS account system has an Operator trusted by the servers, which signs Accounts, and each Account can then create and sign Users within their account. The Operator should be able to safely issue Accounts to other entities which it does not fully trust. A malicious Account could create and sign a User JWT with a state not created by the normal tooling, such that decoding by the NATS JWT library (written in Go) would attempt a nil dereference, aborting execution. The NATS Server is known to be impacted by this. ## Affected versions #### JWT library * all versions prior to 1.1.0 #### NATS Server * Version 2 prior to 2.1.9 ## Impact #### JWT library * Programs would nil dereference and panic, aborting execution by default. #### NATS server * Denial of Service caused by process termination ## Workaround If your NATS servers do not trust any accounts which are managed by untrusted entities, then malformed User credentials are unlikely to be encountered. ## Solution Upgrade the JWT dependency in any application using it. Upgrade the NATS server if using NATS Accounts.

Read the publisher's advisory

osv · GHSA-hmm9-r2m2-qg9w

Published

(This advisory is canonically <https://advisories.nats.io/CVE/CVE-2020-26521.txt>) ## Problem Description The NATS account system has an Operator trusted by the servers, which signs Accounts, and each Account can then create and sign Users within their account. The Operator should be able to safely issue Accounts to other entities which it does not fully trust. A malicious Account could create and sign a User JWT with a state not created by the normal tooling, such that decoding by the NATS JWT library (written in Go) would attempt a nil dereference, aborting execution. The NATS Server is known to be impacted by this. ## Affected versions #### JWT library * all versions prior to 1.1.0 #### NATS Server * Version 2 prior to 2.1.9 ## Impact #### JWT library * Programs would nil dereference and panic, aborting execution by default. #### NATS server * Denial of Service caused by process termination ## Workaround If your NATS servers do not trust any accounts which are managed by untrusted entities, then malformed User credentials are unlikely to be encountered. ## Solution Upgrade the JWT dependency in any application using it. Upgrade the NATS server if using NATS Accounts.

Read the publisher's advisory

osv · GO-2022-0402

Published

A malicious account can create and sign a User JWT which causes a panic when decoded by the NATS JWT library.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2020-26521

Published

n/a

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2022-1028

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Nov 6, 2020, 7:35:12 AM

dateUpdated: Aug 4, 2024, 3:56:04 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2020-26521

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-476

Original publisher date fields

published: 2020-11-06T08:15:13.563

lastModified: 2026-06-17T03:08:08.270

2 source CPE criteria · context only
  • cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-h2fg-54x9-5qhq

Published

github.com/nats-io/jwt

Go

SEMVER · introduced 0 → fixed 1.1.0

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-hmm9-r2m2-qg9w

Published

github.com/nats-io/nats-server/v2

Go

SEMVER · introduced 0 → fixed 2.1.9

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2022-0402

Published

github.com/nats-io/jwt

Go

SEMVER · introduced 0 → fixed 1.1.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 05:53 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current