PT-2007-7072 · Red Hat · Cygwin

Published

2007-11-30

·

Updated

2018-10-26

·

CVE-2007-6181

CVSS v2.0

8.5

High

VectorAV:N/AC:M/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Cygwin versions 1.5.7 and earlier Cygwin versions 1.5.7 through 1.5.19
Description A heap-based buffer overflow issue exists, allowing context-dependent attackers to execute arbitrary code via a filename with a certain length. This can be demonstrated by a remote authenticated user using the SCP protocol to send a file to the Cygwin machine, causing scp.exe to execute and overwrite heap memory with characters from the filename.
Recommendations For Cygwin versions 1.5.7 and earlier, update to a version later than 1.5.19 to resolve the issue. For Cygwin versions 1.5.7 through 1.5.19, update to a version later than 1.5.19 to resolve the issue. As a temporary workaround, consider restricting access to the SCP protocol to minimize the risk of exploitation.

Exploit

Fix

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2007-6181

Affected Products

Cygwin