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

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-6860239
  • published 5 Jun 2024
  • disclosed 14 May 2024
  • credit Unknown

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.

References

CVSS Scores

version 3.1
Expand this section

Snyk

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