CVE-2009-4124: Buffer Overflow
Heap-based buffer overflow in the rbstrjustify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2009-4124?
CVE-2009-4124 has a high severity rating due to its potential for allowing arbitrary code execution.
How do I fix CVE-2009-4124?
To fix CVE-2009-4124, upgrade Ruby to version 1.9.1-p376 or later.
Which versions of Ruby are affected by CVE-2009-4124?
Ruby versions 1.9.1 before 1.9.1-p376 are affected by CVE-2009-4124.
What types of attacks are possible with CVE-2009-4124?
CVE-2009-4124 can be exploited to execute arbitrary code through certain string formatting methods.
Who can be affected by CVE-2009-4124?
Users of affected Ruby versions who process untrusted data could be vulnerable to CVE-2009-4124.