Stack-based Buffer Overflow Affecting github.com/nats-io/nats-server/v2/server package, versions <2.9.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERV2SERVER-3042411
  • published 11 Oct 2022
  • disclosed 11 Oct 2022
  • credit Unknown

How to fix?

Upgrade github.com/nats-io/nats-server/v2/server to version 2.9.3 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 Stack-based Buffer Overflow in the processServiceImport function in client.go when an account imports its own export.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High