SecurityContext

CVE-2010-2489: Ruby - Buffer Overflow

  • Cve: CVE-2010-2489
  • Name: Ruby - Buffer Overflow
  • Description: 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.
  • Impact: Local attackers can escalate privileges by exploiting buffer overflow during filename construction.
  • Remediation: Update to Ruby 1.9.1-p429 or later versions.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local access and crafted ARGF.inplace_mode value
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:2.0/AV:L/AC:L/Au:N/C:C/I:C/A:C
  • Epss score: 0.00406
  • Epss percentile: 0.35596
  • Assignee: [email protected]
  • Published at: 2010-07-12T13:27:27Z
  • Age in days: 5979
  • Modified at: 2026-06-16T23:20:50Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2010-2489
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Same in every row:

  • Source: nvd
UrlTags
http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released/Patch, Vendor Advisory
http://secunia.com/advisories/40442Vendor Advisory
http://osdir.com/ml/ruby-talk/2010-07/msg00095.html
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.securityfocus.com/bid/41321
https://exchange.xforce.ibmcloud.com/vulnerabilities/60135

Products

ProductAffectedPlatform boundSourcesUrl
ruby-lang:ruby= 1.9.0-20070709, = 1.9.0-20060415, = 1.9.1 -p429, = 1.9.1 -p376, = 1.9.1 -p243, = 1.9.1 -p129, = 1.9.0-2, = 1.9.1 -preview_2, = 1.9.1 -rc2, = 1.9.1 -p0, = 1.9.1 -preview_1, = 1.9.1 -rc1, = 1.9.0-0, = 1.9.0-1yesnvd/v1/products/ruby-lang/ruby

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 2449609
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports