Advisory

GHSA-m4jx-6526-vvhm

Also known as: BIT-nats-2020-28466, CVE-2020-28466, GO-2022-0855, SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967

Summary

Denial of service in github.com/nats-io/nats-server/server

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-15 01:57 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/nats-io/nats-server

Go · All systems

Affected

  • introduced 0, fixed 2.2.0 (semver)

Fixed versions

2.2.0

Fix

github.com/nats-io/nats-server/v2

Go · All systems

Affected

  • introduced 0, fixed 2.2.0 (semver)

Fixed versions

2.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences