CVE-2007-6181
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a login. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 5.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 5.6% in the next 30 days (EPSS).
- Severity: 8.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 5.6% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Redhat Cygwin ≤ 1.5.19
Attack profile CVSS 2.0 · 8.5
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:M/Au:S/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-6181.md and follow it. Check whether this project is affected by CVE-2007-6181. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
References
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
- http://securityreason.com/securityalert/3406
- http://www.securityfocus.com/archive/1/484153/100/0/threaded
- http://www.securityfocus.com/bid/26557
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
- http://securityreason.com/securityalert/3406
- http://www.securityfocus.com/archive/1/484153/100/0/threaded
- http://www.securityfocus.com/bid/26557