CVE-2010-2489
What it is
Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privileges via a crafted ARGF.inplace_mode value that is not properly handled when constructing the filenames of the backup files.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.4% 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: 0.4% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- ruby-lang Ruby 1.9.0-0
- ruby-lang Ruby 1.9.0-1
- ruby-lang Ruby 1.9.0-2
- ruby-lang Ruby 1.9.0-20060415
- ruby-lang Ruby 1.9.0-20070709
- ruby-lang Ruby 1.9.1
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/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-2010-2489.md and follow it. Check whether this project is affected by CVE-2010-2489. 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://secunia.com/advisories/40442
- http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released/
- http://secunia.com/advisories/40442
- http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released/
References
- http://osdir.com/ml/ruby-talk/2010-07/msg00095.html
- http://secunia.com/advisories/40442
- http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_429/ChangeLog
- http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_rc1/ChangeLog
- http://www.openwall.com/lists/oss-security/2010/07/02/1
- http://www.openwall.com/lists/oss-security/2010/07/02/10
- http://www.osvdb.org/66040
- http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released/
- http://www.securityfocus.com/bid/41321
- https://exchange.xforce.ibmcloud.com/vulnerabilities/60135
- http://osdir.com/ml/ruby-talk/2010-07/msg00095.html
- http://secunia.com/advisories/40442
- http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_429/ChangeLog
- http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_rc1/ChangeLog
- http://www.openwall.com/lists/oss-security/2010/07/02/1
- http://www.openwall.com/lists/oss-security/2010/07/02/10
- http://www.osvdb.org/66040
- http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released/
- http://www.securityfocus.com/bid/41321
- https://exchange.xforce.ibmcloud.com/vulnerabilities/60135