Inadequate Encryption Strength Affecting github.com/nats-io/nats-server/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-GITHUBCOMNATSIONATSSERVERSERVER-6860238
  • published 16 May 2024
  • disclosed 14 May 2024
  • credit Unknown

How to fix?

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

Overview

github.com/nats-io/nats-server/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

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