Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nats-io/nats-server/v2
  4. ›
  5. GHSA-hmm9-r2m2-qg9w

GHSA-hmm9-r2m2-qg9w: Nil dereference in NATS JWT causing DoS of nats-server

May 21, 2021 (updated October 3, 2025)

(This advisory is canonically https://advisories.nats.io/CVE/CVE-2020-26521.txt)

References

  • advisories.nats.io/CVE/CVE-2020-26521.txt
  • github.com/advisories/GHSA-hmm9-r2m2-qg9w
  • github.com/nats-io/jwt/pull/107
  • github.com/nats-io/nats-server
  • github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI
  • nvd.nist.gov/vuln/detail/CVE-2020-26521
  • www.openwall.com/lists/oss-security/2020/11/02/2

Code Behaviors & Features

Detect and mitigate GHSA-hmm9-r2m2-qg9w with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.1.9

Fixed versions

  • 2.1.9

Solution

Upgrade to version 2.1.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/nats-io/nats-server/v2/GHSA-hmm9-r2m2-qg9w.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:42 +0000.