Description
unix_random.c in lshd for lsh 2.0.1 leaks file descriptors related to the randomness generator, which allows local users to cause a denial of service by truncating the seed file, which prevents the server from starting, or obtain sensitive seed information that could be used to crack keys.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | lsh-utils | 2.0.1cdbs-4 | — |
| Debian 3.1 | lsh-utils | 2.0.1-3sarge1 | DSA-956-1 |
Advisories 1
- DSA-956-1 lsh-server - filedescriptor leak Debian Security (DSA / DLA) · Mar 9, 2026
References
- 16357 vdb-entry
- [lsh-bugs] SECURITY: lshd leaks fd:s to user shells mailing-list
- 18623 third-party-advisory
- 22695 vdb-entry
- lsh-file-descriptor-leak(24263) vdb-entry
- DSA-956 vendor-advisory
- ADV-2006-0301 vdb-entry
- 18564 third-party-advisory