Inadequate Encryption Strength Affecting github.com/nats-io/nats-server/v2/server package, versions <2.2.3


Severity

Recommended
0.0
low
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 Learn

Learn about Inadequate Encryption Strength vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMNATSIONATSSERVERV2SERVER-6860239
  • published5 Jun 2024
  • disclosed14 May 2024
  • creditUnknown

Introduced: 14 May 2024

CVE-2021-32026  (opens in a new tab)
CWE-326  (opens in a new tab)

How to fix?

Upgrade github.com/nats-io/nats-server/v2/server to version 2.2.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 Inadequate Encryption Strength during the use of command-line options for setting TLS parameters. An attacker can negotiate unexpected TLS ciphersuites by providing specific command-line arguments.

Note:

This is only exploitable if the server administrator chooses to configure TLS parameters via command-line instead of using a configuration file.

Workaround

This vulnerability can be mitigated by using a configuration file to set the TLS parameters instead of command-line options.

CVSS Scores

version 3.1