Vulnerability · Published Mar 7, 2021 · Assigned by snyk
CVE-2020-28466Denial of Service (DoS)
High 7.5
In plain English
A high-severity security flaw in github.com/nats-io/nats-server/server. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.7% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/nats-io/nats-server | 2.2.0 | GHSA-m4jx-6526-vvhm |
| Go | github.com/nats-io/nats-server | no fix listed | GO-2022-0855 |
| Go | github.com/nats-io/nats-server/v2 | 2.2.0 | GHSA-m4jx-6526-vvhm |
| Go | github.com/nats-io/nats-server/v2 | 2.2.0 | GO-2022-0855 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/nats-io/nats-server/server | 0 – before unspecified |
References
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967 x_refsource_MISC
- https://github.com/nats-io/nats-server/pull/1731 x_refsource_MISC
- [oss-security] 20210315 [CVE-2020-28466][CVE-2021-3127] NATS.io vulnerabilities mailing-list, x_refsource_MLIST
- [oss-security] 20210315 [CVE-2020-28466][CVE-2021-3127] NATS.io vulnerabilities mailing-list, x_refsource_MLIST