CVE-2020-26521Linuxfoundation Nats-server
High 7.5 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Nats-server We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Nov 6, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).
What to do
- Apply the vendor's security update for Nats-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nats-io/jwt |
< 1.1.0 |
1.1.0 |
go get github.com/nats-io/jwt@v1.1.0 |
| Go | github.com/nats-io/jwt |
< 1.1.0 |
1.1.0 |
go get github.com/nats-io/jwt@v1.1.0 |
| Go | github.com/nats-io/nats-server/v2 |
< 2.1.9 |
2.1.9 |
go get github.com/nats-io/nats-server/v2@v2.1.9 |
Per OSV / GitHub Advisories (GHSA-h2fg-54x9-5qhq, GO-2022-0402, GHSA-hmm9-r2m2-qg9w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | nats-server | < 2.1.9 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org