{"id":"GHSA-mpgr-2cx9-327h","revision":"c6306be3749c4f3cbcd69ae3acb55412","records":[{"revision":"c6306be3749c4f3cbcd69ae3acb55412","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mpgr-2cx9-327h","aliases":["CVE-2020-4045"],"title":"Information disclosure in SSB-DB","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nServers running SSB-DB 20.0.0 (which is packaged with SSB-Server 16.0.0) must upgrade immediately.\n\n**There is no evidence that other SSB apps are vulnerable or that this problem has been exploited in the wild.**\n\nThe `get()` method is supposed to only decrypt messages when you explicitly ask it to, but there's a bug where it's decrypting any message that it can. This means that it's 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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nYes, please upgrade to SSB-DB 20.0.1 (or SSB-Server 16.0.1) immediately.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nYou may be able to disable the most obvious attack vector, SSB-OOO, by disabling the plugin, but you should upgrade immediately anyway.\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [SSB-DB](https://github.com/ssbc/ssb-db/)","state":0,"publishedAt":"2020-06-11T21:09:04+00:00","modifiedAt":"2026-09-10T03:49:25.3038182+00:00","affected":[{"ecosystem":"npm","name":"ssb-db","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"20.0.0"},{"kind":"fixed","version":"20.0.1"}]}],"versions":["20.0.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/ssbc/ssb-db/security/advisories/GHSA-mpgr-2cx9-327h","https://nvd.nist.gov/vuln/detail/CVE-2020-4045","https://github.com/ssbc/ssb-db/commit/43334d0871c9cc6220e0f6d6338499060f7761d4"],"sourceUrl":"https://github.com/advisories/GHSA-mpgr-2cx9-327h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mpgr-2cx9-327h","identifiers":["GHSA-mpgr-2cx9-327h","CVE-2020-4045"]},"retained":false,"historicalAffected":[]}],"coverage":[]}