{"id":"CVE-2020-4045","published":"2020-06-11T21:15:13Z","modified":"2024-08-04T07:52:20Z","title":"Information disclosure in SSB-DB","vendor":"ssbc","product":"SSB-DB","tier":"tail","description":{"text":"SSB-DB version 20.0.0 has an information disclosure vulnerability. The get() method is supposed to only decrypt messages when you explicitly ask it to, but there is a bug where it's decrypting any message that it can. This means that it is returning the decrypted content of private messages, which a malicious peer could use to get access to private data. This only affects peers running SSB-DB@20.0.0 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. This is fixed in version 20.0.1. Note that users of SSB-Server verion 16.0.0 should upgrade to 16.0.1 to get the fixed version of SSB-DB.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01281,"percentile":0.7077,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/ssbc/ssb-db/security/advisories/GHSA-mpgr-2cx9-327h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ssbc/ssb-db/commit/43334d0871c9cc6220e0f6d6338499060f7761d4","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.15},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ssbc","affectedVersions":[{"vendor":"ssbc","product":"SSB-DB","versions":["= 20.0.0"]}],"affected":[{"ecosystem":"npm","package":"ssb-db","vulnerableRanges":[">=20.0.0, <20.0.1"],"patched":["20.0.1"],"from":["GHSA-mpgr-2cx9-327h"],"provenance":"source"}],"summary":{"text":"A flaw in the get() method of SSB-DB version 20.0.0 causes it to decrypt any message it can access, not only those explicitly requested, so private message content is exposed. The issue is only exploitable where SSB-OOO is also running (as it is by default in SSB-Server), since it exposes a thin wrapper around get() to anonymous peers, meaning an attacker over the network with no authentication or user interaction can read private message content from peers that hold private messages.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:52Z"},"euvd":{"id":"EUVD-2020-0501","exploited":false,"provenance":"source"}}