Nats-io nats-server
NATS Server: Route API Auth Bypass
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0, 2.12.7, and 2.11.16, when no_auth_user was configured, a parser fast path intended for ordinary client connections could also apply to route or leafnode listeners, allowing an unauthenticated peer to bypass inter-server CONNECT authentication and operate with the privileges associated with that connection type. This issue is fixed in versions 2.14.0, 2.12.7, and 2.11.16.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-287
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
nats-io nats-server
- < 2.11.16
- >= 2.12.0-preview.1, < 2.12.6
Fixed in 2.11.16, 2.12.6
Mitigation
Upgrade nats-server to 2.11.16 or 2.12.6 or later.
References
- Vendor advisory github.com/nats-io/nats-server/security/adviso…
- Patch github.com/nats-io/nats-server/commit/7b81dd45…
- Patch github.com/nats-io/nats-server/commit/8b8e1ad4…
4 more
- Patch github.com/nats-io/nats-server/commit/b86147e8…
- Release notes github.com/nats-io/nats-server/releases/tag/v2…
- Release notes github.com/nats-io/nats-server/releases/tag/v2…
- Release notes github.com/nats-io/nats-server/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.