{"id":"CVE-2020-28466","published":"2021-03-07T09:55:16Z","modified":"2024-09-16T18:34:41Z","title":"Denial of Service (DoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03729,"percentile":0.90079,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967","tags":["x_refsource_MISC"]},{"url":"https://github.com/nats-io/nats-server/pull/1731","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/16/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/16/2","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.02},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/nats-io/nats-server/server","versions":["< unspecified"]}],"affected":[{"ecosystem":"Go","package":"github.com/nats-io/nats-server","vulnerableRanges":["<2.2.0","all versions"],"patched":["2.2.0"],"from":["GHSA-m4jx-6526-vvhm","GO-2022-0855"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","vulnerableRanges":["<2.2.0"],"patched":["2.2.0"],"from":["GHSA-m4jx-6526-vvhm","GO-2022-0855"],"provenance":"source"}],"summary":{"text":"The flaw is a denial-of-service issue in the server component of the github.com/nats-io/nats-server package, which affects all of its versions. An attacker who can reach the server over the network can crash it by supplying configurations that create service export/import cycles, and no authentication or user interaction is required, although the flaw is described as triggerable by untrusted accounts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:21Z"},"euvd":{"id":"EUVD-2022-1089","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-nats-io-jwt-cve-2020-26521","parents":[{"from":"CVE-2020-26521","to":"CVE-2020-28466","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/accounts.go"],"commits":["https://github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168","https://github.com/nats-io/nats-server/commit/2e3c22672936f4980d343fb1d328b38919e74796"],"basis":"rarely changed file"}]},{"from":"CVE-2020-26892","to":"CVE-2020-28466","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/accounts.go"],"commits":["https://github.com/nats-io/nats-server/commit/1e08b67f08e18cd844dce833a265aaa72500a12f","https://github.com/nats-io/nats-server/commit/2e3c22672936f4980d343fb1d328b38919e74796"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2019-13126","published":"2019-07-29","fixed":"2.2.0","kev":false},{"cve":"CVE-2020-28466","published":"2021-03-07","fixed":"2.2.0","kev":false},{"cve":"CVE-2022-24450","published":"2022-02-08","fixed":"2.7.2","kev":false,"link":{"from":"CVE-2020-28466","to":"CVE-2022-24450","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nats-io/nats-server/v2","fromFixed":"2.2.0","toFixed":"2.7.2","daysApart":338}]}},{"cve":"CVE-2022-26652","published":"2022-03-10","fixed":"2.7.4","kev":false},{"cve":"CVE-2022-28357","published":"2023-09-19","fixed":"2.7.4","kev":false}],"package":"Go:github.com/nats-io/nats-server/v2"}}