Improper Access Control Affecting github.com/nats-io/nats-server/v2/server package, versions >=2.0.0 <2.8.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMNATSIONATSSERVERV2SERVER-7444610
  • published12 Jul 2024
  • disclosed11 Jul 2024
  • creditUnknown

Introduced: 11 Jul 2024

CVE-2022-29946  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/nats-io/nats-server/v2/server to version 2.8.2 or higher.

Overview

github.com/nats-io/nats-server/v2/server is an A simple, secure and performant communications system for digital systems, services and devices.

Affected versions of this package are vulnerable to Improper Access Control due to the failure to enforce negative user permissions in specific scenarios. An attacker can bypass security restrictions by using a queue subscription on the wildcard. This is only exploitable if the attacker has access to the network where the NATS servers are deployed.

CVSS Scores

version 4.0
version 3.1