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 aut...
HighCVSS 8.5
EPSS 5.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Red Hat
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat cygwin | <= 1.5.19 | after 1.5.19 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat cygwin | <= 1.5.19 | No fix listed |
References
- [cygwin-developers] 20071108 Re: cygwin1.dll up to 1.5.22 overflow exploit mailing-list patch vendor-advisory
- [cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow exploit mailing-list vendor-advisory
- [cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow mailing-list vendor-advisory
- 3406 third-party-advisory
- 20071124 [ISecAuditors Security Advisories] Cygwin buffer overflow due incorrect filename length check mailing-list third-party-advisory vdb-entry
- 26557 third-party-advisory vdb-entry