Information Exposure Affecting ssb-server package, versions >=16.0.0 <16.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

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-JS-SSBSERVER-572110
  • published12 Jun 2020
  • disclosed12 Jun 2020
  • creditUnknown

Introduced: 12 Jun 2020

CVE-2020-4045  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade ssb-server to version 16.0.1 or higher.

Overview

ssb-server is a network protocol layer for secure-scuttlebutt

Affected versions of this package are vulnerable to Information Exposure. The get() method is supposed to only decrypt messages when explicitly asked, however a bug exists where it decrypts any message that it can. This means that it returns the decrypted content of private messages, which a malicious peer could use to get access to private data. This only affects peers who also have private messages, and is only known to be exploitable if you're also running SSB-OOO (default in SSB-Server), which exposes a thin wrapper around get() to anonymous peers.

CVSS Scores

version 3.1