Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-6542 EUVD-2017-15598GHSA-6q3h-v425-7xx2

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 …

Published Mar 27, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 putty 0.67-3 —
Debian 13 putty 0.67-3 —
Debian 12 putty 0.67-3 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS putty 0.67-3build0.16.04.1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed putty 0.76-1.2 openSUSE-SU-2024:11201-1
ReleasePackageFixed inAdvisory
Alpine v3.5 putty 0.68-r0 —
Alpine v3.4 putty 0.68-r0 —
Alpine v3.3 putty 0.68-r0 —
Alpine v3.2 putty 0.68-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References