CVE-2020-26521
HIGH 7.5CVSS 3.1Nil dereference in NATS JWT, DoS of nats-server
The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).
- Published
- 6 Nov 2020
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-476
- Also known as
- GHSA-h2fg-54x9-5qhqGHSA-hmm9-r2m2-qg9wGO-2022-0402
- Sources
- NVDJSONOSV GHSA-h2fg-54x9-5qhqJSONOSV GHSA-hmm9-r2m2-qg9wJSONOSV GO-2022-0402JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
< 2.1.9 | 2.1.9 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| OSV | Go | github.com/nats-io/jwt | < 1.1.0 | 1.1.0 |
| OSV | Go | github.com/nats-io/nats-server/v2 | < 2.1.9 | 2.1.9 |
References
- http://www.openwall.com/lists/oss-security/2020/11/02/2 · Mailing List, Third Party Advisory, WEB
- https://github.com/nats-io/nats-server/commits/master · Patch, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/
- https://github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-26521 · ADVISORY
- https://github.com/nats-io/jwt/pull/107 · WEB, FIX
- https://github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168 · WEB
- https://advisories.nats.io/CVE/CVE-2020-26521.txt · WEB
- https://github.com/nats-io/jwt · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI · WEB
- https://pkg.go.dev/vuln/GO-2022-0402 · WEB
- https://github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w · WEB
- https://github.com/nats-io/nats-server · PACKAGE
- https://www.openwall.com/lists/oss-security/2020/11/02/2 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 May 2021)