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

CVE-2020-26892: Use of Hard-coded Credentials

February 11, 2022

The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.

References

  • advisories.nats.io/CVE/CVE-2020-26892.txt
  • github.com/advisories/GHSA-4w5x-x539-ppf5
  • github.com/nats-io/jwt/security/advisories/GHSA-4w5x-x539-ppf5
  • github.com/nats-io/nats-server/commit/1e08b67f08e18cd844dce833a265aaa72500a12f
  • 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-26892
  • www.openwall.com/lists/oss-security/2020/11/02/2

Code Behaviors & Features

Detect and mitigate CVE-2020-26892 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 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-798: Use of Hard-coded Credentials

Source file

go/github.com/nats-io/nats-server/v2/CVE-2020-26892.yml

Spotted a mistake? Edit the file on GitLab.

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

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