Information Exposure Affecting ssb-db package, versions >=20.0.0 <20.0.1
Threat Intelligence
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-JS-SSBDB-572109
- published 12 Jun 2020
- disclosed 12 Jun 2020
- credit Unknown
Introduced: 12 Jun 2020
CVE-2020-4045 Open this link in a new tabHow to fix?
Upgrade ssb-db
to version 20.0.1 or higher.
Overview
ssb-db is an a secure, replicatable database
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.