CVE-2020-28466
Denial of Service (DoS)
Reported by snyk · Published March 7, 2021
github.com/nats-io/nats-server/v2 is fixed in v2.2.0 and 2.2.0 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 | Go Modules | v2.2.0, 2.2.0 |
| github.com/nats-io/nats-server | Go Modules | v2.2.0, 2.2.0 |
| github.com/nats-io/nats-server/server | Go Modules | v2.2.0, 2.2.0 |
| github.com/nats-io/nats-server/v2/server | Go Modules | v2.2.0, 2.2.0 |
| nats | Bitnami | 2.2.0 |
| github.com/nats-io/nats-server/server | n/a | unspecified |
| nats-server | linuxfoundation | 2.2.0 |
| nats | Bitnami | 2.2.0 |
| nats_server | nats | 2.2.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/nats-io/nats-server/server | 0 |
| n/a | github.com/nats-io/nats-server/server | 0 |
| github.com | nats-io/nats-server | 0 |
| wolfi | nats-server | * |
| github.com | nats-io/nats-server/server | 0 |
| chainguard | nats-server | * |
| github.com | nats-io/nats-server/v2/server | 0 |
| github.com | nats-io/nats-server/v2 | 0 |
Timeline
- Mar 7, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 11, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-28466
vulnetix vdb fixes CVE-2020-28466
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-28466/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20210315 [CVE-2020-28466][CVE-2021-3127] NATS.io vulnerabilities mailing-listx_refsource_MLIST
- [oss-security] 20210315 [CVE-2020-28466][CVE-2021-3127] NATS.io vulnerabilities mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2020-28466 advisory
- https://github.com/advisories/GHSA-m4jx-6526-vvhm advisory
- https://github.com/nats-io/nats-server/pull/1731/commits/2e3c22672936f4980d343fb1d328b38919e74796 patch
- https://pkg.go.dev/vuln/GO-2022-0855 url