製品・ソフトウェアに関する情報
Cygwin の cygwin1.dll におけるヒープベースのバッファオーバーフローの脆弱性
Title Cygwin の cygwin1.dll におけるヒープベースのバッファオーバーフローの脆弱性
Summary

Cygwin の cygwin1.dll には、ヒープベースのバッファオーバーフローの脆弱性が存在します。

Possible impacts 攻撃者により、特定のレングスを伴うファイル名を介して、任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Nov. 8, 2007, midnight
Registration Date Dec. 20, 2012, 6:34 p.m.
Last Update Dec. 20, 2012, 6:34 p.m.
CVSS2.0 : 危険
Score 8.5
Vector AV:N/AC:M/Au:S/C:C/I:C/A:C
Affected System
レッドハット
cygwin 1.5.7 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年12月20日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2007-6181
Summary

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.

Summary

Desbordamiento de búfer basado en pila en cygwin1.dll de Cygwin 1.5.7 y anteriores permite a atacantes dependientes de contexto ejecutar código de su elección mediante un nombre de fichero con cierta longitud, como ha sido demostrado por un usuario remoto autenticado que utiliza el protocolo SCP para enviar un fichero a una máquina Cygwin, y de ese modo provoca que scp.exe sea ejecutado, y entonces sobrescribe la memoria (montículo) con caracteres del nombre de fichero. NOTA: también ha sido reportado que un asunto relacionado podría existir en 1.5.7 hasta 1.5.19.

Publication Date Nov. 30, 2007, 9:46 a.m.
Registration Date Jan. 29, 2021, 2:24 p.m.
Last Update April 23, 2026, 9:35 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:redhat:cygwin:*:*:*:*:*:*:*:* 1.5.19
Related information, measures and tools
Common Vulnerabilities List