Name | CVE-2017-6542 |
Description | The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have unspecified impact via a large length value in an agent protocol message and leveraging the ability to connect to the Unix-domain socket representing the forwarded agent connection, which trigger a buffer overflow. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 857642 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
putty (PTS) | jessie, jessie (lts) | 0.63-10+deb8u2 | vulnerable |
| stretch (security), stretch (lts), stretch | 0.67-3+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 0.74-1+deb11u1~deb10u2 | fixed |
| bullseye | 0.74-1+deb11u2 | fixed |
| bullseye (security) | 0.74-1+deb11u1 | fixed |
| bookworm | 0.78-2+deb12u2 | fixed |
| bookworm (security) | 0.78-2+deb12u1 | fixed |
| sid, trixie | 0.82-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
putty | source | (unstable) | 0.67-3 | | | 857642 |
Notes
[jessie] - putty <no-dsa> (Minor issue)
[wheezy] - putty <no-dsa> (Minor issue)
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html
Fixed by: https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4ff22863d895cb7ebfced4cf923a012a614adaa8 (0.68)
Bug only exploitable if SSH agent forwarding enabled (not the default) and if
the attacker can already be able to connect to the Unix-domain socket
representing the forwarded agent connection.