CVE-2025-30215 NATS-Server Fails to Authorize Certain Jetstream Admin APIs
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
NATS-Server is a High-Performance server for NATS.io, the cloud and edge native messaging system. In versions starting from 2.2.0 but prior to 2.10.27 and 2.11.1, the management of JetStream assets happens with messages in the $JS. subject namespace in the system account; this is partially exposed into regular accounts to allow account holders to manage their assets. Some of the JS API requests were missing access controls, allowing any user with JS management permissions in any account to perform certain administrative actions on any JS asset in any other account. At least one of the unprotected APIs allows for data destruction. None of the affected APIs allow disclosing stream contents. This vulnerability is fixed in v2.11.1 or v2.10.27.
Upgrade path
12 packages: 9 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/nats-server(Debian 12) | = 2.9.10-1; = 2.9.19-1; = 2.10.1-1; = 2.10.3-1 +11 more | No fix listed | No fix yet |
| ubuntu/nats-server(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| alpine/nats-server(Alpine v3.21) | < 2.10.27-r0 | 2.10.27-r0 | Fixed |
| alpine/nats-server(Alpine v3.22) | < 2.10.27-r0 | 2.10.27-r0 | Fixed |
| alpine/nats-server(Alpine v3.23) | < 2.10.27-r0 | 2.10.27-r0 | Fixed |
| alpine/nats-server(Alpine v3.24) | < 2.10.27-r0 | 2.10.27-r0 | Fixed |
| azure linux telegraf(Azure Linux 3.0) | < 1.31.0-9 | 1.31.0-9 | Fixed |
| cbl-mariner telegraf(CBL-Mariner 2.0) | < 1.29.4-15 | 1.29.4-15 | Fixed |
| debian/nats-server(Debian 13) | < 2.10.27-1 | 2.10.27-1 | Fixed |
| debian/nats-server(Debian 14) | < 2.10.27-1 | 2.10.27-1 | Fixed |
| nats-io github.com/nats-io/nats-server/v2(Go) | >= 2.2.0, < 2.10.27; >= 2.11.0, < 2.11.1; >= 2.11.0-RC.1, < 2.11.1 | 2.10.27, 2.11.1 | Fixed |
| nats-io github.com/nats-io/nats-server/v2 | = >= 2.2.0, < 2.10.27; = >= 2.11.0-RC.1, < 2.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nats-io github.com/nats-io/nats-server/v2(Go) | >= 2.11.0-RC.1, < 2.11.1 | 2.11.1 |
| nats-io github.com/nats-io/nats-server/v2(Go) | >= 2.2.0, < 2.10.27 | 2.10.27 |
| nats-io github.com/nats-io/nats-server/v2(Go) | >= 2.11.0, < 2.11.1 | 2.11.1 |
| cbl-mariner telegraf(CBL-Mariner:2.0) | < 1.29.4-15 | 1.29.4-15 |
| azure linux telegraf(Azure Linux:3.0) | < 1.31.0-9 | 1.31.0-9 |
| debian/nats-server(Debian:12) | All versions | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.1-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.16-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.18-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.24-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.27-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.3-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.4-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.7-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.12.4-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.12.6-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.14.1-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.14.3-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.9.10-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.9.19-1 | No fix listed |
| debian/nats-server(Debian:13) | < 2.10.27-1 | 2.10.27-1 |
| debian/nats-server(Debian:14) | < 2.10.27-1 | 2.10.27-1 |
| nats-io github.com/nats-io/nats-server/v2 | = >= 2.2.0, < 2.10.27 | No fix listed |
| nats-io github.com/nats-io/nats-server/v2 | = >= 2.11.0-RC.1, < 2.11.1 | No fix listed |
| alpine/nats-server(Alpine:v3.21) | < 2.10.27-r0 | 2.10.27-r0 |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/nats-server(Alpine:v3.22) | < 2.10.27-r0 | 2.10.27-r0 |
| alpine/nats-server(Alpine:v3.23) | < 2.10.27-r0 | 2.10.27-r0 |
| alpine/nats-server(Alpine:v3.24) | < 2.10.27-r0 | 2.10.27-r0 |
| ubuntu/nats-server(Ubuntu:24.04) | All versions | No fix listed |
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-fhg8-qxh5-7q3w exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://advisories.nats.io/CVE/secnote-2025-01.txt
- github.com product
- osv.dev
- www.openwall.com
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-30215 vendor-advisory
- github.com
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org