{"schemaVersion":3,"id":"CVE-2020-28466","aliases":["CGA-4wcv-2c2w-5f24","CGA-9w9x-j895-9c45","CGA-hhcr-386v-g7gc","CGA-wf2c-w597-3jff","GHSA-m4jx-6526-vvhm","BIT-nats-2020-28466","GO-2022-0855","SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-07T09:55:16.528Z","modified":"2024-09-16T18:34:41.668Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03729,"percentile":0.897,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03729},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03729,"percentile":0.897}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03729,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03729,"percentile":0.897}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"chainguard","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nats-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nats-server-compat","name":"nats-server-compat","label":"nats-server-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nats-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nats-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nats-server-compat","name":"nats-server-compat","label":"nats-server-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nats-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/nats-io","product":"nats-server","name":"github.com/nats-io/nats-server","label":"nats-server","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/nats-io/nats-server","purlType":"golang","versions":[{"text":"< 2.2.0","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 2.2.0 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/nats-io/nats-server","product":"v2","name":"github.com/nats-io/nats-server/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/nats-io/nats-server/v2","purlType":"golang","versions":[{"text":"< 2.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.0","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 2.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.2.0","eol":null,"hubHref":"/vendor/linuxfoundation/nats-server"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967","label":"snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967","hostname":"snyk.io","tags":["X Refsource MISC","Advisory","WEB","Third Party Advisory"]},{"url":"https://github.com/nats-io/nats-server/pull/1731","label":"github.com/nats-io/nats-server/pull/1731","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/16/1","label":"www.openwall.com/lists/oss-security/2021/03/16/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","ARTICLE","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/16/2","label":"www.openwall.com/lists/oss-security/2021/03/16/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Advisory","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28466","label":"nvd.nist.gov/vuln/detail/CVE-2020-28466","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/nats-io/nats-server/pull/1731/commits/2e3c22672936f4980d343fb1d328b38919e74796","label":"github.com/nats-io/nats-server/pull/1731/commits/2e3c22672936f4980d343fb1d328b38919e74796","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0855","label":"pkg.go.dev/vuln/GO-2022-0855","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-m4jx-6526-vvhm","label":"github.com/advisories/GHSA-m4jx-6526-vvhm","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-4PXP-V4QJ-CJFP","CGA-MPQX-2M4H-C9F9"]},"timeline":[{"kind":"published","date":"2021-03-07T09:55:16.528Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T18:34:41.668Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:43:35.925Z","stale":false,"partial":false}}