Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-28466

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-28466
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:25 UTC · Revision 1

Source evidence

CVE-2020-28466

core-osv · Original source

Published 7 Mar 2021, 10:15 UTC

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.

osv:CVE-2020-28466
Complete source record
{
  "id": "0e8744b5bebea13fccb2931efb15dde4edf0617221280655371150389859f6bf",
  "url": "https://osv.dev/vulnerability/CVE-2020-28466",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-28466",
    "summary": "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.",
    "evidence": "osv:CVE-2020-28466",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-28466",
      "aliases": [
        "BIT-nats-2020-28466",
        "CVE-2020-28466",
        "GHSA-m4jx-6526-vvhm",
        "GO-2022-0855",
        "SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nats-io/nats-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e12e56aef4089d8376e22b03cbc2e5b97321f049"
                },
                {
                  "fixed": "0e3c7230e4b7c85795592f74a62351f6fe22fcbd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.7",
            "v2.1.6",
            "v2.1.4",
            "v2.1.2",
            "v2.1.0",
            "v2.0.4",
            "v2.0.2",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28466.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:19.323403471Z",
      "provider": "osv",
      "references": [
        "https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967",
        "https://github.com/nats-io/nats-server/pull/1731"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-28466",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385037,
  "published_at": "2021-03-07T10:15:12.957+00:00"
}