Buffer overflow in Red Hat Cygwin
CVE-2007-6181
Heap-based buffer overflow in cygwin1.dll in Cygwin 1.5.7 and earlier allows context-dependent attackers to execute arbitrary code via a filename with a certain length, as demonstrated by a remote authenticated user who uses the SCP protocol to send a file to the Cygwin machine, and thereby causes scp.exe on this machine to execute, and then overwrite heap memory with characters from the filename. NOTE: it is also reported that a related issue might exist in 1.5.7 through 1.5.19.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 8.5 (High). Vector: AV:N/AC:M/Au:S/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.056, 93.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- [cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow (Vendor Advisory, mailing-list)
- 20071124 [ISecAuditors Security Advisories] Cygwin buffer overflow due incorrect filename length check (mailing-list, Third Party Advisory, VDB Entry)
- [cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow (Vendor Advisory, mailing-list, Exploit)
- securityreason.com/securityalert/3406 (Third Party Advisory, third-party-advisory)
- www.securityfocus.com/bid/26557 (Third Party Advisory, VDB Entry, vdb-entry)
- [cygwin-developers] 20071108 Re: cygwin1.dll up to 1.5.22 overflow (Vendor Advisory, mailing-list, Exploit, Patch)