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

CVE-2021-3127: Improper Handling of Exceptional Conditions

February 15, 2022 (updated October 2, 2023)

NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.

References

  • advisories.nats.io/CVE/CVE-2021-3127.txt
  • github.com/advisories/GHSA-9r5x-fjv3-q6h4
  • github.com/nats-io/jwt/pull/149/commits/a826c77dc9d2671c961b75ceefdb439c41029866
  • github.com/nats-io/nats-server/commit/423b79440c80c863de9f4e20548504e6c5d5e403
  • nvd.nist.gov/vuln/detail/CVE-2021-3127

Code Behaviors & Features

Detect and mitigate CVE-2021-3127 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.2.0

Fixed versions

  • v2.2.0

Solution

Upgrade to version 2.2.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

go/github.com/nats-io/nats-server/v2/CVE-2021-3127.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:29 +0000.