Live threats

All CVEs / Linuxfoundation

CVE-2020-28466Linuxfoundation Nats-server

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.7%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Mar 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nats-server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/nats-io/nats-server < 2.2.0 2.2.0 go get github.com/nats-io/nats-server@v2.2.0
Go github.com/nats-io/nats-server all no fixed version —
Go github.com/nats-io/nats-server/v2 < 2.2.0 2.2.0 go get github.com/nats-io/nats-server/v2@v2.2.0
Go github.com/nats-io/nats-server/v2 < 2.2.0 2.2.0 go get github.com/nats-io/nats-server/v2@v2.2.0

Per OSV / GitHub Advisories (GHSA-m4jx-6526-vvhm, GO-2022-0855). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationnats-server≥ 2.0.0 < 2.2.0

Official sources

References

Links published by the sources. Open them with care.