CVE-2017-6542 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can trigger a buffer overflow in PuTTY via large agent protocol messages, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-6542?

CVE-2017-6542 is a critical memory corruption vulnerability in Opensuse Leap, published on 27 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2017-6542?

It affects 3 products.

Products include Opensuse Leap, Opensuse Project Leap, Putty Putty.

How do I fix CVE-2017-6542?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-6542 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-6542 exists.

Public exploit code: 1 Exploit-DB entry.

All Opensuse Leap vulnerabilities

Sources

Also known as ALPINE-CVE-2017-6542, DEBIAN-CVE-2017-6542, GHSA-6q3h-v425-7xx2, MGASA-2017-0093, UBUNTU-CVE-2017-6542.

Is CVE-2017-6542 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free