Improper Authentication Affecting nats-server package, versions <2.10.27-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.03% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN13-NATSSERVER-9680226
  • published10 Apr 2025
  • disclosed16 Apr 2025

Introduced: 10 Apr 2025

NewCVE-2025-30215  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade Debian:13 nats-server to version 2.10.27-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nats-server package and not the nats-server package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.