Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nats-io/nats-server/v2
  4. ›
  5. CVE-2020-26521

CVE-2020-26521: NULL Pointer Dereference

February 11, 2022

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

References

  • www.openwall.com/lists/oss-security/2020/11/02/2
  • advisories.nats.io/CVE/CVE-2020-26521.txt
  • github.com/advisories/GHSA-h2fg-54x9-5qhq
  • github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq
  • github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168
  • github.com/nats-io/nats-server/commits/master
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/
  • nvd.nist.gov/vuln/detail/CVE-2020-26521

Code Behaviors & Features

Detect and mitigate CVE-2020-26521 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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/CVE-2020-26521.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:49 +0000.