Description
Multiple heap-based buffer overflows in the modpow function in PuTTY before 0.55 allow (1) remote attackers to execute arbitrary code via an SSH2 packet with a base argument that is larger than the mod argument, which causes the modpow function to write memory before the beginning of its buffer, and (2) remote malicious servers to cause a denial of service (client crash) and possibly execute arbitrary code via a large bignum during authentication.
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 14 | putty | 0.56-1 | — |
| Debian 13 | putty | 0.56-1 | — |
| Debian 12 | putty | 0.56-1 | — |
References
- GLSA-200408-04 vendor-advisory
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- 10850 vdb-entry
- 12212 third-party-advisory
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-modpow.html
- putty-code-execution(16885) vdb-entry
- 20040804 CORE-2004-0705: Vulnerabilities in PuTTY and PSCP mailing-list