CVE-2020-28466Linuxfoundation 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
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Mar 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
This affects all versions of package github.com/nats-io/nats-server/server. Untrusted accounts are able to crash the server using configs that represent a service export/import cycles. Disclaimer from the maintainers: Running a NATS service which is exposed to untrusted users presents a heightened risk. Any remote execution flaw or equivalent seriousness, or denial-of-service by unauthenticated users, will lead to prompt releases by the NATS maintainers. Fixes for denial of service issues with no threat of remote execution, when limited to account holders, are likely to just be committed to the main development branch with no special attention. Those who are running such services are encouraged to build regularly from git.
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/nats-server |
< 2.2.0 |
2.2.0 |
go get github.com/nats-io/nats-server@v2.2.0 |
| Go | github.com/nats-io/nats-server |
all |
no fixed version | — |
| Go | github.com/nats-io/nats-server/v2 |
< 2.2.0 |
2.2.0 |
go get github.com/nats-io/nats-server/v2@v2.2.0 |
| Go | github.com/nats-io/nats-server/v2 |
< 2.2.0 |
2.2.0 |
go get github.com/nats-io/nats-server/v2@v2.2.0 |
Per OSV / GitHub Advisories (GHSA-m4jx-6526-vvhm, GO-2022-0855). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | nats-server | ≥ 2.0.0 < 2.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- www.openwall.com Mailing List Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Third Party Advisory