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. Learn more

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 IDSNYK-GOLANG-GITHUBCOMNATSIONATSSERVERV2SERVER-3042411
  • published11 Oct 2022
  • disclosed11 Oct 2022
  • creditUnknown

Introduced: 11 Oct 2022

CVE-2022-42709  (opens in a new tab)
CWE-121  (opens in a new tab)

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