Vulnerability identifier: #VU57321
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-330
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
keypair
Web applications /
JS libraries
Vendor: Julian Gruber
Description
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to an error in the pseudo-random number generator used by keypair to generate RSA keys for SSH connections. A remote attacker can generate duplicate SSH keys and gain unauthorized access to the affected systems.
Mitigation
Install updates from vendor's website.
Note, just installing an update is not enough to fix the problem. You need to replace all previously generated SSH keys.
Vulnerable software versions
keypair: 0.0.0 - 1.0.3
External links
http://github.com/juliangruber/keypair/security/advisories/GHSA-3f99-hvg4-qjwj
http://securitylab.github.com/advisories/GHSL-2021-1012-keypair/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.