Buffer overflow in Redhat 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

EPSS: 0.056 (92.1th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Vendor Advisory, mailing-list, x_refsource_MLIST)
  • cve@mitre.org (mailing-list, x_refsource_BUGTRAQ, VDB Entry, Third Party Advisory)
  • cve@mitre.org (Vendor Advisory, mailing-list, x_refsource_MLIST, Exploit)
  • cve@mitre.org (Third Party Advisory, x_refsource_SREASON, third-party-advisory)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cve@mitre.org (Vendor Advisory, mailing-list, x_refsource_MLIST, Exploit, Patch)