CVE-2020-28466
Nats Server vulnerability
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 products
Nats Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nats Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nats-io/nats-server/pull/1731 · Patch
- www.openwall.com/lists/oss-security/2021/03/16/2 · Third Party Advisory
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967 · Third Party Advisory
- www.openwall.com/lists/oss-security/2021/03/16/1
- nvd.nist.gov/vuln/detail/CVE-2020-28466
- github.com/nats-io/nats-server/pull/1731/commits/2e3c22672936f4980d343fb1d328b38919e74796
- pkg.go.dev/vuln/GO-2022-0855
- github.com/advisories/GHSA-m4jx-6526-vvhm
- nvd.nist.gov/vuln/detail/CVE-2020-28466
- cve.org/CVERecord?id=CVE-2020-28466
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.