Closed AguacateVelarde closed 4 months ago
This makes no sense on multiple levels:
@mscdex Sorry to reignite this thread and your replies all make sense.
One thing I wanted to make sure of though -- from my reading, this package builds its entire own SSH server and client on top of NodeJS built-ins (including OpenSSL, which, as you say, is definitely NOT OpenSSH), but does not leverage the OS's SSH implementations (if one is available) at all, is that correct? It essentially builds its own SSH software instead of the OS.
That's my read, but admittedly I've only spent a couple of hours reviewing the code in this package and might miss something.
@lmynsberge You don't need to review the code, the project description says it all:
SSH2 client and server modules written in pure JavaScript for node.js
Haha, that would do it too. Thanks a lot! Appreciate this package a lot, nice work.
We use
ssh2-sftp-client
, a JavaScript implementation of SSH2 in Node.js, and we've read about the vulnerability with OpenSSH.In our research, we found a breach in the
ssh2
library because it uses OpenSSH v3.x. The Qualys report advises using > v4.4 to avoid this error. Internally, we're working to add observability and try to fix this binding, but if someone has fixed it before, we would appreciate your knowledge.Qualys Report