GHSA-m4jx-6526-vvhm
Denial of service in github.com/nats-io/nats-server/server
Quick fix
GHSA-m4jx-6526-vvhm — github.com/nats-io/nats-server: upgrade to the fixed version with the command below.
go get github.com/nats-io/nats-server@v2.2.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 2.2.0go get github.com/nats-io/nats-server@v2.2.00Fixed in: 2.2.0go get github.com/nats-io/nats-server/v2@v2.2.0References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28466[ADVISORY]
- https://github.com/nats-io/nats-server/pull/1731[WEB]
- https://github.com/nats-io/nats-server/pull/1731/commits/2e3c22672936f4980d343fb1d328b38919e74796[WEB]
- https://pkg.go.dev/vuln/GO-2022-0855[WEB]
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967[WEB]
- http://www.openwall.com/lists/oss-security/2021/03/16/1[WEB]
- http://www.openwall.com/lists/oss-security/2021/03/16/2[WEB]